1 2000-03-13 James Ingham <jingham@leda.cygnus.com>
3 * mi-var-block.exp: The error report from varobj_create changed
4 since I am now trapping parse_exp_1 errors. Change the tests to
5 match the new error message.
6 * mi-var-child.exp: Ditto.
7 * mi-var-cmd.exp: Ditto.
9 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
11 * mi-disassemble.exp: Don't assume numbers for the offset
12 values. They can be different depending on the architecture.
14 * mi-watch.exp (test_watchpoint_triggering): In same cases the
15 type can be 'hw wathcpoint' not just 'watchpoint'. Adjust for that.
17 * basics.c (callee4): Make the function return something,
18 otherwise the return value is undefined.
20 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22 * mi-basics.exp: Comment out test for a still unimplemented operation.
24 * mi-disassemble.exp: Rewrite most of the tests to conform to new
25 disassemble interface.
27 Sat Mar 4 13:55:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
29 From Fri 3 Mar 2000 Peter Schauer:
30 * mi-support.exp (mi_gdb_start): When GDB doesn't recongize -i=mi
31 option, assume no MI support present.
33 2000-02-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
35 * mi-support.exp (mi_gdb_start): Update to recognize start up
36 message with 'UI_OUT' instead of 'HEADLESS'.
38 2000-01-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
40 * mi-regs.exp (test_running_the_program): Add global var 'hex'.
42 * mi-stack.exp, mi-stepi.exp, mi-until.exp, mi-watch.exp,
43 mi-var-display.exp, mi-var-cmd.exp, mi-var-child.exp,
44 mi-var-block.exp: Update all stopped messages.
46 2000-01-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
48 * mi-console.exp, mi-disassemble.exp, mi-eval.exp,
49 mi-read-memory.exp, mi-regs.exp, mi-return.exp, mi-simplerun.exp:
50 Update stopped messages, update copyright.
52 * mi-disassemble.exp: Update error messages output.
54 * mi-support.exp (proc mi_step): Make gdb do a 'step' command, not
55 a 'next'. Update stopped message.
56 (proc mi_next): Update stop message.
57 (proc mi_run_to_main): Update stopped message.
60 2000-01-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
62 * mi-simplerun.exp: Remove stack frames tests from here, to:
64 * mi-stack.exp: New file, tests for stack commands.
66 * mi-support.exp (mi_run_to_main, mi_next, mi_step) : Update to
67 include thread-id in stopped message.
69 * mi-regs.exp: Update break-insert output.
71 * (mi-console.exp, mi-disassemble.exp, mi-eval.exp,
72 mi-read-memory.exp, mi-regs.exp, mi-return.exp, mi-simplerun.exp,
73 mi-stepi.exp, mi-until.exp, mi-var-block.exp, mi-var-child.exp,
74 mi-var-cmd.exp, mi-var-display.exp, mi-watch.exp): Update stopped
75 message to include thread-id.
77 Wed Dec 29 22:06:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
79 * mi-watch.exp, mi-var-display.exp, mi-var-cmd.exp,
80 mi-var-child.exp, mi-var-block.exp, mi-until.exp, mi-stepi.exp,
81 mi-simplerun.exp, mi-return.exp, mi-support.exp, mi-eval.exp,
82 mi-console.exp, mi-disassemble.exp, mi-break.exp: Update to
83 reflect extended output from -break-insert command.
85 * mi-break.exp (test_rbreak_creation_and_listing): XFAIL regexp
86 tests. -r flag broken by above.
88 Sun Dec 19 19:28:13 1999 Andrew Cagney <cagney@b1.cygnus.com>
90 * cpp_variable.cc, cpp_variable.h, c_variable.c: Delete.
92 Fri Dec 17 20:59:55 1999 Andrew Cagney <cagney@b1.cygnus.com>
94 * mi-read-memory.exp: Test of ``-o <offset>'' now works.
96 1999-12-16 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
98 * mi-var-cmd.exp: Fix 2 tests outputs.
100 * mi-var-child.exp: Add many more tests.
102 * mi-var-display.exp: Add many more tests.
104 * var-cmd.c: Change type of incr_a parameter to char.
106 1999-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
108 * mi-var-block.exp: Set up xfails fro known problems.
110 * mi-var-display.exp: Set up printing of values of 'e' and 'anone'
113 * mi-var-child.exp: Fix typos.
115 1999-12-15 Andrew Cagney <cagney@b1.cygnus.com>
117 * mi-var-child.exp: Space was missing before ``[10]''.
119 Wed Dec 15 19:23:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
121 * mi-read-memory.exp: Add test for ``-o <offset>''. Update checks
122 and match next-row et.al.
124 1999-12-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
126 * mi-var-display.exp : New file. Tests for format and type, with
127 unions, structs and enums.
129 * mi-var-cmd.exp: Add some var-assign tests.
131 1999-12-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
133 * mi-var-cmd.exp, mi-var-block.exp, mi-var-child.exp: New files
134 some tests for -var* commands.
136 * var-cmd.c: New source file for var-* commands tests.
137 * gdb.mi/Makefile.in (PROGS): Add var-cmd.
139 Mon Dec 13 18:06:09 1999 Andrew Cagney <cagney@b1.cygnus.com>
141 * mi-break.exp: Fix quoting. Changed "srcfile.c":6 to
143 * mi-simplerun.exp: Fix quoting.
145 Sat Dec 11 21:33:37 1999 Andrew Cagney <cagney@b1.cygnus.com>
147 * mi-simplerun.exp (exec-finish): Fix return value was zero,
148 should have been three.
150 * mi-disassemble.exp: Reduce number of wild card matches in
151 * patterns. Remove all numeric constants.
153 1999-12-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
155 * mi-eval.exp: New file. Some initial tests for
156 -data-evaluate-expression.
158 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
160 * c_variable.c, cpp_variable.cc, cpp_variable.h: New files. Used
161 for testing "var" operations.
162 * Makefile.in: Add reference to the above files.
164 1999-12-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
166 * mi-regs.exp: Fix test for format 'N' for
167 data-list-register-values.
169 1999-12-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
171 * mi-disassemble.exp: Update expected output. Break test of
172 disassembly in mixed mode into 2 functions.
174 * mi-regs.exp: Initial register tests. Works only on sparc right
177 1999-12-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
179 * mi-stepi.exp: New file. Tests exec-step-instruction and
180 exec-next-instruction.
181 * mi-until.exp: New file. Tests exec-until.
183 * mi-return.exp: New file. Tests exec-return.
185 Thu Dec 2 09:38:23 1999 Andrew Cagney <cagney@b1.cygnus.com>
187 * mi-hack-cli.exp: New test. Check the hacked up access to the
190 Wed Dec 1 16:47:40 1999 Andrew Cagney <cagney@b1.cygnus.com>
192 * mi-basics.exp: Delete calls to mi_delete_breakpoints,
193 mi_gdb_reinitialize_dir and mi_gdb_load. This test is checking
196 * mi-support.exp (mi_step, mi_next, mi_run_to_main): New
199 * mi-read-memory.exp, mi-read-memory.c: New files. Test
200 data-read-memory command.
202 Tue Nov 30 23:54:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
204 * mi-support.exp: Don't start SID until after GDB has been started
207 Tue Nov 30 22:21:33 1999 Andrew Cagney <cagney@b1.cygnus.com>
209 * mi-support.exp (mi_uncatched_gdb_exit): When SID, call sid_exit.
210 (mi_gdb_start): When SID, call sid_start.
211 (mi_gdb_start): Add MIFLAGS to spawn-GDB command. Check for
212 HEADLESS gdb. Return non-zero when GDB fails to start.
213 (mi_gdb_load): When SID or SIM, download program.
214 (mi_run_cmd): Don't do download here. Assume target supports the
216 (skip_mi_tests, setup_gdbmi, unset_gdbmi): Delete. Merged into
219 * mi-basics.exp, mi-break.exp, mi-console.exp, mi-disassemble.exp,
220 mi-simplerun.exp, mi-watch.exp: Update. Check status from
221 mi_gdb_start indicating that GDB started correctly.
223 Tue Nov 30 15:22:08 1999 Andrew Cagney <cagney@b1.cygnus.com>
225 * mi-support.exp (setup_gdbmi, unset_gdbmi): New
226 procedures. Setup/unset dejagnu for mi tests.
227 * mi-basics.exp, mi-console.exp, mi-simplerun.exp, mi-break.exp,
228 mi-disassemble.exp, mi-watch.exp: Update.
230 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
232 * mi-simplerun.exp (test_running_the_program): Remove XFAIL. The
234 (test_program_termination): Update output pattern.
236 Tue Nov 30 00:19:10 1999 Andrew Cagney <cagney@b1.cygnus.com>
238 * mi-console.c, mi-console.exp: New files. Test console output.
240 Mon Nov 29 17:59:13 1999 Andrew Cagney <cagney@b1.cygnus.com>
242 * mi-support.exp (mi_run_command): Check for exec-run command
243 failure due to MI not having an active target.
244 (mi_run_command): Check for and handle a builtin simulator target.
245 (mi_run_command): Don't check/handle for ``The program has been
246 started already'', not a valid MI response.
248 * mi-simplerun.exp (test_running_the_program): Update all patterns
249 to match async output.
250 (test_running_the_program): Mark ``step to callee4'' as XFAIL. MI
251 output contains {,reason="end-stepping-range"}+.
253 * mi-simplerun.exp: Limit the timeout for ``step to callee4'' to
256 Mon Nov 29 17:30:00 1999 Andrew Cagney <cagney@b1.cygnus.com>
258 * mi-support.exp (skip_mi_tests): Print UNTESTED when MI interface
259 isn't available. Start/stop instead of assuming GDB is running.
261 * mi-simplerun.exp, mi-disassemble.exp, mi-break.exp,
262 mi-basics.exp, mi-watch.exp: Update.
264 1999-11-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
266 * mi-simplerun.exp: Move break-insert {-t, -r} from here.
267 * mi-break.exp: To here. New file.
268 * mi-watch.exp: New file. Tests for watchpoints.
270 Wed Nov 24 17:42:07 1999 Andrew Cagney <cagney@b1.cygnus.com>
272 * gdb.mi/ChangeLog-mi: MI entries moved to here.
274 Wed Nov 24 17:31:04 1999 Andrew Cagney <cagney@b1.cygnus.com>
276 * gdb.mi/mi-basics.exp, gdb.mi/mi-disassemble.exp,
277 gdb.mi/mi-simplerun.exp: Print warning message when test isn't
280 1999-11-23 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
282 * gdb.mi/mi-simplerun.exp: Update output of break-list to account for
285 1999-11-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
287 * gdb.mi/mi-simplerun.exp: Add tests for temporary breakpoints
288 and bp based on regular expressions.
289 * gdb.mi/mi-disassemble.exp: Fix typo.
291 1999-11-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
293 * gdb.mi/mi-disassemble.exp: Update output of execution commands
294 to reflect new 'reason' field.
295 * gdb.mi/mi-simplerun.exp: Ditto.
297 1999-10-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
299 * gdb.mi/mi-simplerun.exp: Add more stack-list-frames tests.
301 * gdb.mi/mi-disassemble.exp: Update 'run to main' output.
303 * gdb.mi/mi-simplerun.exp: Update execution commands
304 output. Update backtrace output.
306 1999-10-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
308 * gdb.mi/mi-disassemble.exp: Add new tests for the new
309 disassembly command parameter, number of lines.
311 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
313 * lib/mi-support.exp: Break complicated gdb_expect containing
314 exp_continue into a while within an expect. Don't attempt a start
315 more than three times. Check return value from gdb_load.
317 1999-10-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
319 * gdb.mi/mi-disassemble.exp: New file.
321 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
323 * lib/mi-support.exp (mi_run_cmd): Give up after two restart
326 1999-09290 Fernando Nasser <fnasser@totem.to.cygnus.com>
328 * gdb.mi/mi-basics.exp: Update to current syntax and output formats.
329 * gdb.mi/mi-simplerun.exp: Ditto.
330 * lib/mi-support.exp (mi_delete_breakpoints): Ditto.
332 1999-06-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
334 * gdb.mi/basics.c (main): Fix return code. Add a print "Hello,
336 * gdb.mi/mi-basics.exp: Fix message texts and numbering.
337 * gdb.mi/mi-simplerun.exp: Ditto. Also, add new tests and improve
340 1999-06-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
342 * lib/mi-support.exp (mi_gdb_reinitialize_dir): Remove query as an
343 acceptable response to the environment-dir command.
345 1999-06-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
347 * lib/mi-support.exp (mi_delete_breakpoints): Remove references to
351 1999-06-25 Fernando Nasser <fnasser@totem.to.cygnus.com>
353 * lib/mi-support.exp (skip_mi_tests): Use gdb-version to check for
354 headless output format.
356 1999-06-24 Fernando Nasser <fnasser@totem.to.cygnus.com>
358 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Add global
361 1999-06-24 Fernando Nasser <fnasser@totem.to.cygnus.com>
363 * lib/mi-support.exp (mi_run_cmd): Fix pattern and add a timeout
366 1999-06-24 Fernando Nasser <fnasser@totem.to.cygnus.com>
368 * lib/mi-support.exp: Use mi_gdb_prompt instead of a modified
369 gdb_prompt. Remove uneeded loading of libgloss.
370 (mi_gdb_exit): Remove prompt argument.
371 (mi_uncatched_gdb_exit): Ditto.
372 (mi_run_cmd): New proc. MI version of gdb_run.
373 (skip_mi_tests): New proc. Check if gdb is capable of producing
374 headless formatted output.
375 * gdb.mi/mi-basics.exp: Use mi_gdb_prompt instead of a modified
376 gdb_prompt. Eliminate parameter to mi_gdb_exit (as a result of
377 the above). Test for skip_mi_tests before running.
378 Note: The above changes are interelated (need each other).
379 * gdb.mi/mi-simplerun.exp: Same changes as for mi-basics.exe
381 (test_breakpoint_creation_and_listing): Remove insertion of
382 breakpoint at callee1 (and renumber tokens). Add tests for
383 break-list, break-disable and break-info.
384 (test_running_the_program): Use mi_run_cmd so it can run on remote
386 (test_controlled_execution): Fix broken test.
387 (test_program_termination): Test implemented.
388 * gdb.mi/basic.c (main): Small change to allow for testing of both
389 exec-next and exec-step operations.
391 1999-06-22 Fernando Nasser <fnasser@totem.to.cygnus.com>
393 * lib/mi-support.exp (mi_gdb_test): New proc. MI version of gdb_test.
394 * gdb.mi/mi-basics.exp: Use the above instead of gdb_test.
395 * gdb.mi/mi-simplerun.exp: Ditto.
397 1999-06-22 Fernando Nasser <fnasser@totem.to.cygnus.com>
399 * gdb.mi/mi-simplerun.exp: New file. Tests simple debugging tasks.
400 * gdb.mi/mi-basics.exp: Remove tests moved to above new file.
401 * lib/mi-support.exp: New file. Support procedures for mi tests.
403 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
405 * gdb.mi/mi-basics.exp: Skip all tests if the MI interpreter is
408 1999-06-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
410 * gdb.mi: New directory.
411 * configure.in: Configure it.
412 * configure: Regenerate.
413 * gdb.mi/{Makefile.in,configure.in,configure}: New files.
414 * gdb.mi/{mi-basics.exp,basics.c,testcmds}: New files.
421 version-control: never