1 2001-06-18 Andrew Cagney <ac131313@redhat.com>
3 * mi-basics.exp, mi-break.exp, mi-console.exp, mi-disassemble.exp,
4 mi-eval.exp, mi-hack-cli.exp, mi-read-memory.exp, mi-regs.exp,
5 mi-return.exp, mi-simplerun.exp, mi-stack.exp, mi-stepi.exp,
6 mi-until.exp, mi-var-block.exp, mi-var-child.exp, mi-var-cmd.exp,
7 mi-var-display.exp, mi-watch.exp, mi0-basics.exp, mi0-break.exp,
8 mi0-console.exp, mi0-disassemble.exp, mi0-eval.exp,
9 mi0-hack-cli.exp, mi0-read-memory.exp, mi0-regs.exp,
10 mi0-return.exp, mi0-simplerun.exp, mi0-stack.exp, mi0-stepi.exp,
11 mi0-until.exp, mi0-var-block.exp, mi0-var-child.exp,
12 mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Use MIFLAGS
13 to explictly select an interpreter.
15 2001-06-16 Andrew Cagney <ac131313@redhat.com>
17 MI0 was the never enabled MI interface included in GDB 5.0.
18 * mi0-basics.exp: Copy mi-basics.exp.
19 * mi0-break.exp: Copy mi-break.exp.
20 * mi0-console.exp: Copy mi-console.exp.
21 * mi0-disassemble.exp: Copy mi-disassemble.exp.
22 * mi0-eval.exp: Copy mi-eval.exp.
23 * mi0-hack-cli.exp: Copy mi-hack-cli.exp.
24 * mi0-read-memory.exp: Copy mi-read-memory.exp.
25 * mi0-regs.exp: Copy mi-regs.exp.
26 * mi0-return.exp: Copy mi-return.exp.
27 * mi0-simplerun.exp: Copy mi-simplerun.exp.
28 * mi0-stack.exp: Copy mi-stack.exp.
29 * mi0-stepi.exp: Copy mi-stepi.exp.
30 * mi0-until.exp: Copy mi-until.exp.
31 * mi0-var-block.exp: Copy mi-var-block.exp.
32 * mi0-var-child.exp: Copy mi-var-child.exp.
33 * mi0-var-cmd.exp: Copy mi-var-cmd.exp.
34 * mi0-var-display.exp: Copy mi-var-display.exp.
35 * mi0-watch.exp: Copy mi-watch.exp.
37 2001-05-11 Fernando Nasser <fnasser@redhat.com>
39 * mi-var-child.exp: Adjust for the fact that now (char *) can be
42 2001-03-06 Kevin Buettner <kevinb@redhat.com>
44 * mi-basics.exp, mi-break.exp, mi-disassemble.exp,
45 mi-eval.exp, mi-hack-cli.exp, mi-read-memory.exp, mi-regs.exp,
46 mi-return.exp, mi-simplerun.exp, mi-stack.exp, mi-stepi.exp,
47 mi-until.exp, mi-watch.exp: Update/correct copyright notices.
49 2001-01-20 Mark Kettenis <kettenis@gnu.org>
51 * mi-support.exp (mi_gdb_start): Skip mi tests if -i flag is
52 recognized (i.e. if GDB was compiled with UI_OUT, but the mi
53 interpreter wasn't recognized (because it wasn't compiled in).
55 Tue Apr 18 15:36:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
57 * Makefile.in (clean mostlyclean): Do not delete $(MISCELLANEOUS).
59 Tue Mar 14 15:54:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
61 * basics.c: Add EMACS local variable pointing change-log at this
65 2000-03-13 James Ingham <jingham@leda.cygnus.com>
67 * mi-var-block.exp: The error report from varobj_create changed
68 since I am now trapping parse_exp_1 errors. Change the tests to
69 match the new error message.
70 * mi-var-child.exp: Ditto.
71 * mi-var-cmd.exp: Ditto.
73 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
75 * mi-disassemble.exp: Don't assume numbers for the offset
76 values. They can be different depending on the architecture.
78 * mi-watch.exp (test_watchpoint_triggering): In same cases the
79 type can be 'hw wathcpoint' not just 'watchpoint'. Adjust for that.
81 * basics.c (callee4): Make the function return something,
82 otherwise the return value is undefined.
84 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
86 * mi-basics.exp: Comment out test for a still unimplemented operation.
88 * mi-disassemble.exp: Rewrite most of the tests to conform to new
89 disassemble interface.
91 Sat Mar 4 13:55:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
93 From Fri 3 Mar 2000 Peter Schauer:
94 * mi-support.exp (mi_gdb_start): When GDB doesn't recongize -i=mi
95 option, assume no MI support present.
97 2000-02-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
99 * mi-support.exp (mi_gdb_start): Update to recognize start up
100 message with 'UI_OUT' instead of 'HEADLESS'.
102 2000-01-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
104 * mi-regs.exp (test_running_the_program): Add global var 'hex'.
106 * mi-stack.exp, mi-stepi.exp, mi-until.exp, mi-watch.exp,
107 mi-var-display.exp, mi-var-cmd.exp, mi-var-child.exp,
108 mi-var-block.exp: Update all stopped messages.
110 2000-01-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
112 * mi-console.exp, mi-disassemble.exp, mi-eval.exp,
113 mi-read-memory.exp, mi-regs.exp, mi-return.exp, mi-simplerun.exp:
114 Update stopped messages, update copyright.
116 * mi-disassemble.exp: Update error messages output.
118 * mi-support.exp (proc mi_step): Make gdb do a 'step' command, not
119 a 'next'. Update stopped message.
120 (proc mi_next): Update stop message.
121 (proc mi_run_to_main): Update stopped message.
124 2000-01-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
126 * mi-simplerun.exp: Remove stack frames tests from here, to:
128 * mi-stack.exp: New file, tests for stack commands.
130 * mi-support.exp (mi_run_to_main, mi_next, mi_step) : Update to
131 include thread-id in stopped message.
133 * mi-regs.exp: Update break-insert output.
135 * (mi-console.exp, mi-disassemble.exp, mi-eval.exp,
136 mi-read-memory.exp, mi-regs.exp, mi-return.exp, mi-simplerun.exp,
137 mi-stepi.exp, mi-until.exp, mi-var-block.exp, mi-var-child.exp,
138 mi-var-cmd.exp, mi-var-display.exp, mi-watch.exp): Update stopped
139 message to include thread-id.
141 Wed Dec 29 22:06:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
143 * mi-watch.exp, mi-var-display.exp, mi-var-cmd.exp,
144 mi-var-child.exp, mi-var-block.exp, mi-until.exp, mi-stepi.exp,
145 mi-simplerun.exp, mi-return.exp, mi-support.exp, mi-eval.exp,
146 mi-console.exp, mi-disassemble.exp, mi-break.exp: Update to
147 reflect extended output from -break-insert command.
149 * mi-break.exp (test_rbreak_creation_and_listing): XFAIL regexp
150 tests. -r flag broken by above.
152 Sun Dec 19 19:28:13 1999 Andrew Cagney <cagney@b1.cygnus.com>
154 * cpp_variable.cc, cpp_variable.h, c_variable.c: Delete.
156 Fri Dec 17 20:59:55 1999 Andrew Cagney <cagney@b1.cygnus.com>
158 * mi-read-memory.exp: Test of ``-o <offset>'' now works.
160 1999-12-16 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
162 * mi-var-cmd.exp: Fix 2 tests outputs.
164 * mi-var-child.exp: Add many more tests.
166 * mi-var-display.exp: Add many more tests.
168 * var-cmd.c: Change type of incr_a parameter to char.
170 1999-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
172 * mi-var-block.exp: Set up xfails fro known problems.
174 * mi-var-display.exp: Set up printing of values of 'e' and 'anone'
177 * mi-var-child.exp: Fix typos.
179 1999-12-15 Andrew Cagney <cagney@b1.cygnus.com>
181 * mi-var-child.exp: Space was missing before ``[10]''.
183 Wed Dec 15 19:23:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
185 * mi-read-memory.exp: Add test for ``-o <offset>''. Update checks
186 and match next-row et.al.
188 1999-12-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
190 * mi-var-display.exp : New file. Tests for format and type, with
191 unions, structs and enums.
193 * mi-var-cmd.exp: Add some var-assign tests.
195 1999-12-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
197 * mi-var-cmd.exp, mi-var-block.exp, mi-var-child.exp: New files
198 some tests for -var* commands.
200 * var-cmd.c: New source file for var-* commands tests.
201 * gdb.mi/Makefile.in (PROGS): Add var-cmd.
203 Mon Dec 13 18:06:09 1999 Andrew Cagney <cagney@b1.cygnus.com>
205 * mi-break.exp: Fix quoting. Changed "srcfile.c":6 to
207 * mi-simplerun.exp: Fix quoting.
209 Sat Dec 11 21:33:37 1999 Andrew Cagney <cagney@b1.cygnus.com>
211 * mi-simplerun.exp (exec-finish): Fix return value was zero,
212 should have been three.
214 * mi-disassemble.exp: Reduce number of wild card matches in
215 * patterns. Remove all numeric constants.
217 1999-12-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
219 * mi-eval.exp: New file. Some initial tests for
220 -data-evaluate-expression.
222 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
224 * c_variable.c, cpp_variable.cc, cpp_variable.h: New files. Used
225 for testing "var" operations.
226 * Makefile.in: Add reference to the above files.
228 1999-12-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
230 * mi-regs.exp: Fix test for format 'N' for
231 data-list-register-values.
233 1999-12-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
235 * mi-disassemble.exp: Update expected output. Break test of
236 disassembly in mixed mode into 2 functions.
238 * mi-regs.exp: Initial register tests. Works only on sparc right
241 1999-12-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
243 * mi-stepi.exp: New file. Tests exec-step-instruction and
244 exec-next-instruction.
245 * mi-until.exp: New file. Tests exec-until.
247 * mi-return.exp: New file. Tests exec-return.
249 Thu Dec 2 09:38:23 1999 Andrew Cagney <cagney@b1.cygnus.com>
251 * mi-hack-cli.exp: New test. Check the hacked up access to the
254 Wed Dec 1 16:47:40 1999 Andrew Cagney <cagney@b1.cygnus.com>
256 * mi-basics.exp: Delete calls to mi_delete_breakpoints,
257 mi_gdb_reinitialize_dir and mi_gdb_load. This test is checking
260 * mi-support.exp (mi_step, mi_next, mi_run_to_main): New
263 * mi-read-memory.exp, mi-read-memory.c: New files. Test
264 data-read-memory command.
266 Tue Nov 30 23:54:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
268 * mi-support.exp: Don't start SID until after GDB has been started
271 Tue Nov 30 22:21:33 1999 Andrew Cagney <cagney@b1.cygnus.com>
273 * mi-support.exp (mi_uncatched_gdb_exit): When SID, call sid_exit.
274 (mi_gdb_start): When SID, call sid_start.
275 (mi_gdb_start): Add MIFLAGS to spawn-GDB command. Check for
276 HEADLESS gdb. Return non-zero when GDB fails to start.
277 (mi_gdb_load): When SID or SIM, download program.
278 (mi_run_cmd): Don't do download here. Assume target supports the
280 (skip_mi_tests, setup_gdbmi, unset_gdbmi): Delete. Merged into
283 * mi-basics.exp, mi-break.exp, mi-console.exp, mi-disassemble.exp,
284 mi-simplerun.exp, mi-watch.exp: Update. Check status from
285 mi_gdb_start indicating that GDB started correctly.
287 Tue Nov 30 15:22:08 1999 Andrew Cagney <cagney@b1.cygnus.com>
289 * mi-support.exp (setup_gdbmi, unset_gdbmi): New
290 procedures. Setup/unset dejagnu for mi tests.
291 * mi-basics.exp, mi-console.exp, mi-simplerun.exp, mi-break.exp,
292 mi-disassemble.exp, mi-watch.exp: Update.
294 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
296 * mi-simplerun.exp (test_running_the_program): Remove XFAIL. The
298 (test_program_termination): Update output pattern.
300 Tue Nov 30 00:19:10 1999 Andrew Cagney <cagney@b1.cygnus.com>
302 * mi-console.c, mi-console.exp: New files. Test console output.
304 Mon Nov 29 17:59:13 1999 Andrew Cagney <cagney@b1.cygnus.com>
306 * mi-support.exp (mi_run_command): Check for exec-run command
307 failure due to MI not having an active target.
308 (mi_run_command): Check for and handle a builtin simulator target.
309 (mi_run_command): Don't check/handle for ``The program has been
310 started already'', not a valid MI response.
312 * mi-simplerun.exp (test_running_the_program): Update all patterns
313 to match async output.
314 (test_running_the_program): Mark ``step to callee4'' as XFAIL. MI
315 output contains {,reason="end-stepping-range"}+.
317 * mi-simplerun.exp: Limit the timeout for ``step to callee4'' to
320 Mon Nov 29 17:30:00 1999 Andrew Cagney <cagney@b1.cygnus.com>
322 * mi-support.exp (skip_mi_tests): Print UNTESTED when MI interface
323 isn't available. Start/stop instead of assuming GDB is running.
325 * mi-simplerun.exp, mi-disassemble.exp, mi-break.exp,
326 mi-basics.exp, mi-watch.exp: Update.
328 1999-11-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
330 * mi-simplerun.exp: Move break-insert {-t, -r} from here.
331 * mi-break.exp: To here. New file.
332 * mi-watch.exp: New file. Tests for watchpoints.
334 Wed Nov 24 17:42:07 1999 Andrew Cagney <cagney@b1.cygnus.com>
336 * gdb.mi/ChangeLog-mi: MI entries moved to here.
338 Wed Nov 24 17:31:04 1999 Andrew Cagney <cagney@b1.cygnus.com>
340 * gdb.mi/mi-basics.exp, gdb.mi/mi-disassemble.exp,
341 gdb.mi/mi-simplerun.exp: Print warning message when test isn't
344 1999-11-23 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
346 * gdb.mi/mi-simplerun.exp: Update output of break-list to account for
349 1999-11-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
351 * gdb.mi/mi-simplerun.exp: Add tests for temporary breakpoints
352 and bp based on regular expressions.
353 * gdb.mi/mi-disassemble.exp: Fix typo.
355 1999-11-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
357 * gdb.mi/mi-disassemble.exp: Update output of execution commands
358 to reflect new 'reason' field.
359 * gdb.mi/mi-simplerun.exp: Ditto.
361 1999-10-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
363 * gdb.mi/mi-simplerun.exp: Add more stack-list-frames tests.
365 * gdb.mi/mi-disassemble.exp: Update 'run to main' output.
367 * gdb.mi/mi-simplerun.exp: Update execution commands
368 output. Update backtrace output.
370 1999-10-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
372 * gdb.mi/mi-disassemble.exp: Add new tests for the new
373 disassembly command parameter, number of lines.
375 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
377 * lib/mi-support.exp: Break complicated gdb_expect containing
378 exp_continue into a while within an expect. Don't attempt a start
379 more than three times. Check return value from gdb_load.
381 1999-10-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
383 * gdb.mi/mi-disassemble.exp: New file.
385 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
387 * lib/mi-support.exp (mi_run_cmd): Give up after two restart
390 1999-09290 Fernando Nasser <fnasser@totem.to.cygnus.com>
392 * gdb.mi/mi-basics.exp: Update to current syntax and output formats.
393 * gdb.mi/mi-simplerun.exp: Ditto.
394 * lib/mi-support.exp (mi_delete_breakpoints): Ditto.
396 1999-06-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
398 * gdb.mi/basics.c (main): Fix return code. Add a print "Hello,
400 * gdb.mi/mi-basics.exp: Fix message texts and numbering.
401 * gdb.mi/mi-simplerun.exp: Ditto. Also, add new tests and improve
404 1999-06-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
406 * lib/mi-support.exp (mi_gdb_reinitialize_dir): Remove query as an
407 acceptable response to the environment-dir command.
409 1999-06-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
411 * lib/mi-support.exp (mi_delete_breakpoints): Remove references to
415 1999-06-25 Fernando Nasser <fnasser@totem.to.cygnus.com>
417 * lib/mi-support.exp (skip_mi_tests): Use gdb-version to check for
418 headless output format.
420 1999-06-24 Fernando Nasser <fnasser@totem.to.cygnus.com>
422 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Add global
425 1999-06-24 Fernando Nasser <fnasser@totem.to.cygnus.com>
427 * lib/mi-support.exp (mi_run_cmd): Fix pattern and add a timeout
430 1999-06-24 Fernando Nasser <fnasser@totem.to.cygnus.com>
432 * lib/mi-support.exp: Use mi_gdb_prompt instead of a modified
433 gdb_prompt. Remove uneeded loading of libgloss.
434 (mi_gdb_exit): Remove prompt argument.
435 (mi_uncatched_gdb_exit): Ditto.
436 (mi_run_cmd): New proc. MI version of gdb_run.
437 (skip_mi_tests): New proc. Check if gdb is capable of producing
438 headless formatted output.
439 * gdb.mi/mi-basics.exp: Use mi_gdb_prompt instead of a modified
440 gdb_prompt. Eliminate parameter to mi_gdb_exit (as a result of
441 the above). Test for skip_mi_tests before running.
442 Note: The above changes are interelated (need each other).
443 * gdb.mi/mi-simplerun.exp: Same changes as for mi-basics.exe
445 (test_breakpoint_creation_and_listing): Remove insertion of
446 breakpoint at callee1 (and renumber tokens). Add tests for
447 break-list, break-disable and break-info.
448 (test_running_the_program): Use mi_run_cmd so it can run on remote
450 (test_controlled_execution): Fix broken test.
451 (test_program_termination): Test implemented.
452 * gdb.mi/basic.c (main): Small change to allow for testing of both
453 exec-next and exec-step operations.
455 1999-06-22 Fernando Nasser <fnasser@totem.to.cygnus.com>
457 * lib/mi-support.exp (mi_gdb_test): New proc. MI version of gdb_test.
458 * gdb.mi/mi-basics.exp: Use the above instead of gdb_test.
459 * gdb.mi/mi-simplerun.exp: Ditto.
461 1999-06-22 Fernando Nasser <fnasser@totem.to.cygnus.com>
463 * gdb.mi/mi-simplerun.exp: New file. Tests simple debugging tasks.
464 * gdb.mi/mi-basics.exp: Remove tests moved to above new file.
465 * lib/mi-support.exp: New file. Support procedures for mi tests.
467 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
469 * gdb.mi/mi-basics.exp: Skip all tests if the MI interpreter is
472 1999-06-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
474 * gdb.mi: New directory.
475 * configure.in: Configure it.
476 * configure: Regenerate.
477 * gdb.mi/{Makefile.in,configure.in,configure}: New files.
478 * gdb.mi/{mi-basics.exp,basics.c,testcmds}: New files.
485 version-control: never