1 2001-06-16 Andrew Cagney <ac131313@redhat.com>
3 MI0 was the never enabled MI interface included in GDB 5.0.
4 * mi0-basics.exp: Copy mi-basics.exp.
5 * mi0-break.exp: Copy mi-break.exp.
6 * mi0-console.exp: Copy mi-console.exp.
7 * mi0-disassemble.exp: Copy mi-disassemble.exp.
8 * mi0-eval.exp: Copy mi-eval.exp.
9 * mi0-hack-cli.exp: Copy mi-hack-cli.exp.
10 * mi0-read-memory.exp: Copy mi-read-memory.exp.
11 * mi0-regs.exp: Copy mi-regs.exp.
12 * mi0-return.exp: Copy mi-return.exp.
13 * mi0-simplerun.exp: Copy mi-simplerun.exp.
14 * mi0-stack.exp: Copy mi-stack.exp.
15 * mi0-stepi.exp: Copy mi-stepi.exp.
16 * mi0-until.exp: Copy mi-until.exp.
17 * mi0-var-block.exp: Copy mi-var-block.exp.
18 * mi0-var-child.exp: Copy mi-var-child.exp.
19 * mi0-var-cmd.exp: Copy mi-var-cmd.exp.
20 * mi0-var-display.exp: Copy mi-var-display.exp.
21 * mi0-watch.exp: Copy mi-watch.exp.
23 2001-05-11 Fernando Nasser <fnasser@redhat.com>
25 * mi-var-child.exp: Adjust for the fact that now (char *) can be
28 2001-03-06 Kevin Buettner <kevinb@redhat.com>
30 * mi-basics.exp, mi-break.exp, mi-disassemble.exp,
31 mi-eval.exp, mi-hack-cli.exp, mi-read-memory.exp, mi-regs.exp,
32 mi-return.exp, mi-simplerun.exp, mi-stack.exp, mi-stepi.exp,
33 mi-until.exp, mi-watch.exp: Update/correct copyright notices.
35 2001-01-20 Mark Kettenis <kettenis@gnu.org>
37 * mi-support.exp (mi_gdb_start): Skip mi tests if -i flag is
38 recognized (i.e. if GDB was compiled with UI_OUT, but the mi
39 interpreter wasn't recognized (because it wasn't compiled in).
41 Tue Apr 18 15:36:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
43 * Makefile.in (clean mostlyclean): Do not delete $(MISCELLANEOUS).
45 Tue Mar 14 15:54:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
47 * basics.c: Add EMACS local variable pointing change-log at this
51 2000-03-13 James Ingham <jingham@leda.cygnus.com>
53 * mi-var-block.exp: The error report from varobj_create changed
54 since I am now trapping parse_exp_1 errors. Change the tests to
55 match the new error message.
56 * mi-var-child.exp: Ditto.
57 * mi-var-cmd.exp: Ditto.
59 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
61 * mi-disassemble.exp: Don't assume numbers for the offset
62 values. They can be different depending on the architecture.
64 * mi-watch.exp (test_watchpoint_triggering): In same cases the
65 type can be 'hw wathcpoint' not just 'watchpoint'. Adjust for that.
67 * basics.c (callee4): Make the function return something,
68 otherwise the return value is undefined.
70 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
72 * mi-basics.exp: Comment out test for a still unimplemented operation.
74 * mi-disassemble.exp: Rewrite most of the tests to conform to new
75 disassemble interface.
77 Sat Mar 4 13:55:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
79 From Fri 3 Mar 2000 Peter Schauer:
80 * mi-support.exp (mi_gdb_start): When GDB doesn't recongize -i=mi
81 option, assume no MI support present.
83 2000-02-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
85 * mi-support.exp (mi_gdb_start): Update to recognize start up
86 message with 'UI_OUT' instead of 'HEADLESS'.
88 2000-01-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
90 * mi-regs.exp (test_running_the_program): Add global var 'hex'.
92 * mi-stack.exp, mi-stepi.exp, mi-until.exp, mi-watch.exp,
93 mi-var-display.exp, mi-var-cmd.exp, mi-var-child.exp,
94 mi-var-block.exp: Update all stopped messages.
96 2000-01-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
98 * mi-console.exp, mi-disassemble.exp, mi-eval.exp,
99 mi-read-memory.exp, mi-regs.exp, mi-return.exp, mi-simplerun.exp:
100 Update stopped messages, update copyright.
102 * mi-disassemble.exp: Update error messages output.
104 * mi-support.exp (proc mi_step): Make gdb do a 'step' command, not
105 a 'next'. Update stopped message.
106 (proc mi_next): Update stop message.
107 (proc mi_run_to_main): Update stopped message.
110 2000-01-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
112 * mi-simplerun.exp: Remove stack frames tests from here, to:
114 * mi-stack.exp: New file, tests for stack commands.
116 * mi-support.exp (mi_run_to_main, mi_next, mi_step) : Update to
117 include thread-id in stopped message.
119 * mi-regs.exp: Update break-insert output.
121 * (mi-console.exp, mi-disassemble.exp, mi-eval.exp,
122 mi-read-memory.exp, mi-regs.exp, mi-return.exp, mi-simplerun.exp,
123 mi-stepi.exp, mi-until.exp, mi-var-block.exp, mi-var-child.exp,
124 mi-var-cmd.exp, mi-var-display.exp, mi-watch.exp): Update stopped
125 message to include thread-id.
127 Wed Dec 29 22:06:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
129 * mi-watch.exp, mi-var-display.exp, mi-var-cmd.exp,
130 mi-var-child.exp, mi-var-block.exp, mi-until.exp, mi-stepi.exp,
131 mi-simplerun.exp, mi-return.exp, mi-support.exp, mi-eval.exp,
132 mi-console.exp, mi-disassemble.exp, mi-break.exp: Update to
133 reflect extended output from -break-insert command.
135 * mi-break.exp (test_rbreak_creation_and_listing): XFAIL regexp
136 tests. -r flag broken by above.
138 Sun Dec 19 19:28:13 1999 Andrew Cagney <cagney@b1.cygnus.com>
140 * cpp_variable.cc, cpp_variable.h, c_variable.c: Delete.
142 Fri Dec 17 20:59:55 1999 Andrew Cagney <cagney@b1.cygnus.com>
144 * mi-read-memory.exp: Test of ``-o <offset>'' now works.
146 1999-12-16 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
148 * mi-var-cmd.exp: Fix 2 tests outputs.
150 * mi-var-child.exp: Add many more tests.
152 * mi-var-display.exp: Add many more tests.
154 * var-cmd.c: Change type of incr_a parameter to char.
156 1999-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
158 * mi-var-block.exp: Set up xfails fro known problems.
160 * mi-var-display.exp: Set up printing of values of 'e' and 'anone'
163 * mi-var-child.exp: Fix typos.
165 1999-12-15 Andrew Cagney <cagney@b1.cygnus.com>
167 * mi-var-child.exp: Space was missing before ``[10]''.
169 Wed Dec 15 19:23:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
171 * mi-read-memory.exp: Add test for ``-o <offset>''. Update checks
172 and match next-row et.al.
174 1999-12-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
176 * mi-var-display.exp : New file. Tests for format and type, with
177 unions, structs and enums.
179 * mi-var-cmd.exp: Add some var-assign tests.
181 1999-12-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
183 * mi-var-cmd.exp, mi-var-block.exp, mi-var-child.exp: New files
184 some tests for -var* commands.
186 * var-cmd.c: New source file for var-* commands tests.
187 * gdb.mi/Makefile.in (PROGS): Add var-cmd.
189 Mon Dec 13 18:06:09 1999 Andrew Cagney <cagney@b1.cygnus.com>
191 * mi-break.exp: Fix quoting. Changed "srcfile.c":6 to
193 * mi-simplerun.exp: Fix quoting.
195 Sat Dec 11 21:33:37 1999 Andrew Cagney <cagney@b1.cygnus.com>
197 * mi-simplerun.exp (exec-finish): Fix return value was zero,
198 should have been three.
200 * mi-disassemble.exp: Reduce number of wild card matches in
201 * patterns. Remove all numeric constants.
203 1999-12-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
205 * mi-eval.exp: New file. Some initial tests for
206 -data-evaluate-expression.
208 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
210 * c_variable.c, cpp_variable.cc, cpp_variable.h: New files. Used
211 for testing "var" operations.
212 * Makefile.in: Add reference to the above files.
214 1999-12-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
216 * mi-regs.exp: Fix test for format 'N' for
217 data-list-register-values.
219 1999-12-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
221 * mi-disassemble.exp: Update expected output. Break test of
222 disassembly in mixed mode into 2 functions.
224 * mi-regs.exp: Initial register tests. Works only on sparc right
227 1999-12-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
229 * mi-stepi.exp: New file. Tests exec-step-instruction and
230 exec-next-instruction.
231 * mi-until.exp: New file. Tests exec-until.
233 * mi-return.exp: New file. Tests exec-return.
235 Thu Dec 2 09:38:23 1999 Andrew Cagney <cagney@b1.cygnus.com>
237 * mi-hack-cli.exp: New test. Check the hacked up access to the
240 Wed Dec 1 16:47:40 1999 Andrew Cagney <cagney@b1.cygnus.com>
242 * mi-basics.exp: Delete calls to mi_delete_breakpoints,
243 mi_gdb_reinitialize_dir and mi_gdb_load. This test is checking
246 * mi-support.exp (mi_step, mi_next, mi_run_to_main): New
249 * mi-read-memory.exp, mi-read-memory.c: New files. Test
250 data-read-memory command.
252 Tue Nov 30 23:54:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
254 * mi-support.exp: Don't start SID until after GDB has been started
257 Tue Nov 30 22:21:33 1999 Andrew Cagney <cagney@b1.cygnus.com>
259 * mi-support.exp (mi_uncatched_gdb_exit): When SID, call sid_exit.
260 (mi_gdb_start): When SID, call sid_start.
261 (mi_gdb_start): Add MIFLAGS to spawn-GDB command. Check for
262 HEADLESS gdb. Return non-zero when GDB fails to start.
263 (mi_gdb_load): When SID or SIM, download program.
264 (mi_run_cmd): Don't do download here. Assume target supports the
266 (skip_mi_tests, setup_gdbmi, unset_gdbmi): Delete. Merged into
269 * mi-basics.exp, mi-break.exp, mi-console.exp, mi-disassemble.exp,
270 mi-simplerun.exp, mi-watch.exp: Update. Check status from
271 mi_gdb_start indicating that GDB started correctly.
273 Tue Nov 30 15:22:08 1999 Andrew Cagney <cagney@b1.cygnus.com>
275 * mi-support.exp (setup_gdbmi, unset_gdbmi): New
276 procedures. Setup/unset dejagnu for mi tests.
277 * mi-basics.exp, mi-console.exp, mi-simplerun.exp, mi-break.exp,
278 mi-disassemble.exp, mi-watch.exp: Update.
280 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
282 * mi-simplerun.exp (test_running_the_program): Remove XFAIL. The
284 (test_program_termination): Update output pattern.
286 Tue Nov 30 00:19:10 1999 Andrew Cagney <cagney@b1.cygnus.com>
288 * mi-console.c, mi-console.exp: New files. Test console output.
290 Mon Nov 29 17:59:13 1999 Andrew Cagney <cagney@b1.cygnus.com>
292 * mi-support.exp (mi_run_command): Check for exec-run command
293 failure due to MI not having an active target.
294 (mi_run_command): Check for and handle a builtin simulator target.
295 (mi_run_command): Don't check/handle for ``The program has been
296 started already'', not a valid MI response.
298 * mi-simplerun.exp (test_running_the_program): Update all patterns
299 to match async output.
300 (test_running_the_program): Mark ``step to callee4'' as XFAIL. MI
301 output contains {,reason="end-stepping-range"}+.
303 * mi-simplerun.exp: Limit the timeout for ``step to callee4'' to
306 Mon Nov 29 17:30:00 1999 Andrew Cagney <cagney@b1.cygnus.com>
308 * mi-support.exp (skip_mi_tests): Print UNTESTED when MI interface
309 isn't available. Start/stop instead of assuming GDB is running.
311 * mi-simplerun.exp, mi-disassemble.exp, mi-break.exp,
312 mi-basics.exp, mi-watch.exp: Update.
314 1999-11-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
316 * mi-simplerun.exp: Move break-insert {-t, -r} from here.
317 * mi-break.exp: To here. New file.
318 * mi-watch.exp: New file. Tests for watchpoints.
320 Wed Nov 24 17:42:07 1999 Andrew Cagney <cagney@b1.cygnus.com>
322 * gdb.mi/ChangeLog-mi: MI entries moved to here.
324 Wed Nov 24 17:31:04 1999 Andrew Cagney <cagney@b1.cygnus.com>
326 * gdb.mi/mi-basics.exp, gdb.mi/mi-disassemble.exp,
327 gdb.mi/mi-simplerun.exp: Print warning message when test isn't
330 1999-11-23 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
332 * gdb.mi/mi-simplerun.exp: Update output of break-list to account for
335 1999-11-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
337 * gdb.mi/mi-simplerun.exp: Add tests for temporary breakpoints
338 and bp based on regular expressions.
339 * gdb.mi/mi-disassemble.exp: Fix typo.
341 1999-11-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
343 * gdb.mi/mi-disassemble.exp: Update output of execution commands
344 to reflect new 'reason' field.
345 * gdb.mi/mi-simplerun.exp: Ditto.
347 1999-10-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
349 * gdb.mi/mi-simplerun.exp: Add more stack-list-frames tests.
351 * gdb.mi/mi-disassemble.exp: Update 'run to main' output.
353 * gdb.mi/mi-simplerun.exp: Update execution commands
354 output. Update backtrace output.
356 1999-10-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
358 * gdb.mi/mi-disassemble.exp: Add new tests for the new
359 disassembly command parameter, number of lines.
361 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
363 * lib/mi-support.exp: Break complicated gdb_expect containing
364 exp_continue into a while within an expect. Don't attempt a start
365 more than three times. Check return value from gdb_load.
367 1999-10-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
369 * gdb.mi/mi-disassemble.exp: New file.
371 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
373 * lib/mi-support.exp (mi_run_cmd): Give up after two restart
376 1999-09290 Fernando Nasser <fnasser@totem.to.cygnus.com>
378 * gdb.mi/mi-basics.exp: Update to current syntax and output formats.
379 * gdb.mi/mi-simplerun.exp: Ditto.
380 * lib/mi-support.exp (mi_delete_breakpoints): Ditto.
382 1999-06-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
384 * gdb.mi/basics.c (main): Fix return code. Add a print "Hello,
386 * gdb.mi/mi-basics.exp: Fix message texts and numbering.
387 * gdb.mi/mi-simplerun.exp: Ditto. Also, add new tests and improve
390 1999-06-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
392 * lib/mi-support.exp (mi_gdb_reinitialize_dir): Remove query as an
393 acceptable response to the environment-dir command.
395 1999-06-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
397 * lib/mi-support.exp (mi_delete_breakpoints): Remove references to
401 1999-06-25 Fernando Nasser <fnasser@totem.to.cygnus.com>
403 * lib/mi-support.exp (skip_mi_tests): Use gdb-version to check for
404 headless output format.
406 1999-06-24 Fernando Nasser <fnasser@totem.to.cygnus.com>
408 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Add global
411 1999-06-24 Fernando Nasser <fnasser@totem.to.cygnus.com>
413 * lib/mi-support.exp (mi_run_cmd): Fix pattern and add a timeout
416 1999-06-24 Fernando Nasser <fnasser@totem.to.cygnus.com>
418 * lib/mi-support.exp: Use mi_gdb_prompt instead of a modified
419 gdb_prompt. Remove uneeded loading of libgloss.
420 (mi_gdb_exit): Remove prompt argument.
421 (mi_uncatched_gdb_exit): Ditto.
422 (mi_run_cmd): New proc. MI version of gdb_run.
423 (skip_mi_tests): New proc. Check if gdb is capable of producing
424 headless formatted output.
425 * gdb.mi/mi-basics.exp: Use mi_gdb_prompt instead of a modified
426 gdb_prompt. Eliminate parameter to mi_gdb_exit (as a result of
427 the above). Test for skip_mi_tests before running.
428 Note: The above changes are interelated (need each other).
429 * gdb.mi/mi-simplerun.exp: Same changes as for mi-basics.exe
431 (test_breakpoint_creation_and_listing): Remove insertion of
432 breakpoint at callee1 (and renumber tokens). Add tests for
433 break-list, break-disable and break-info.
434 (test_running_the_program): Use mi_run_cmd so it can run on remote
436 (test_controlled_execution): Fix broken test.
437 (test_program_termination): Test implemented.
438 * gdb.mi/basic.c (main): Small change to allow for testing of both
439 exec-next and exec-step operations.
441 1999-06-22 Fernando Nasser <fnasser@totem.to.cygnus.com>
443 * lib/mi-support.exp (mi_gdb_test): New proc. MI version of gdb_test.
444 * gdb.mi/mi-basics.exp: Use the above instead of gdb_test.
445 * gdb.mi/mi-simplerun.exp: Ditto.
447 1999-06-22 Fernando Nasser <fnasser@totem.to.cygnus.com>
449 * gdb.mi/mi-simplerun.exp: New file. Tests simple debugging tasks.
450 * gdb.mi/mi-basics.exp: Remove tests moved to above new file.
451 * lib/mi-support.exp: New file. Support procedures for mi tests.
453 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
455 * gdb.mi/mi-basics.exp: Skip all tests if the MI interpreter is
458 1999-06-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
460 * gdb.mi: New directory.
461 * configure.in: Configure it.
462 * configure: Regenerate.
463 * gdb.mi/{Makefile.in,configure.in,configure}: New files.
464 * gdb.mi/{mi-basics.exp,basics.c,testcmds}: New files.
471 version-control: never