Recognize -i=mi0, -i=mi1 and -i=mi.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.mi / ChangeLog-mi
1 2001-06-18 Andrew Cagney <ac131313@redhat.com>
2
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.
14
15 2001-06-16 Andrew Cagney <ac131313@redhat.com>
16
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.
36
37 2001-05-11 Fernando Nasser <fnasser@redhat.com>
38
39 * mi-var-child.exp: Adjust for the fact that now (char *) can be
40 dereferenced.
41
42 2001-03-06 Kevin Buettner <kevinb@redhat.com>
43
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.
48
49 2001-01-20 Mark Kettenis <kettenis@gnu.org>
50
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).
54
55 Tue Apr 18 15:36:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
56
57 * Makefile.in (clean mostlyclean): Do not delete $(MISCELLANEOUS).
58
59 Tue Mar 14 15:54:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
60
61 * basics.c: Add EMACS local variable pointing change-log at this
62 file.
63 * Makefile.in: Ditto
64
65 2000-03-13 James Ingham <jingham@leda.cygnus.com>
66
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.
72
73 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
74
75 * mi-disassemble.exp: Don't assume numbers for the offset
76 values. They can be different depending on the architecture.
77
78 * mi-watch.exp (test_watchpoint_triggering): In same cases the
79 type can be 'hw wathcpoint' not just 'watchpoint'. Adjust for that.
80
81 * basics.c (callee4): Make the function return something,
82 otherwise the return value is undefined.
83
84 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
85
86 * mi-basics.exp: Comment out test for a still unimplemented operation.
87
88 * mi-disassemble.exp: Rewrite most of the tests to conform to new
89 disassemble interface.
90
91 Sat Mar 4 13:55:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
92
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.
96
97 2000-02-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
98
99 * mi-support.exp (mi_gdb_start): Update to recognize start up
100 message with 'UI_OUT' instead of 'HEADLESS'.
101
102 2000-01-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
103
104 * mi-regs.exp (test_running_the_program): Add global var 'hex'.
105
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.
109
110 2000-01-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
111
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.
115
116 * mi-disassemble.exp: Update error messages output.
117
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.
122 Update copyright.
123
124 2000-01-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
125
126 * mi-simplerun.exp: Remove stack frames tests from here, to:
127
128 * mi-stack.exp: New file, tests for stack commands.
129
130 * mi-support.exp (mi_run_to_main, mi_next, mi_step) : Update to
131 include thread-id in stopped message.
132
133 * mi-regs.exp: Update break-insert output.
134
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.
140
141 Wed Dec 29 22:06:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
142
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.
148
149 * mi-break.exp (test_rbreak_creation_and_listing): XFAIL regexp
150 tests. -r flag broken by above.
151
152 Sun Dec 19 19:28:13 1999 Andrew Cagney <cagney@b1.cygnus.com>
153
154 * cpp_variable.cc, cpp_variable.h, c_variable.c: Delete.
155
156 Fri Dec 17 20:59:55 1999 Andrew Cagney <cagney@b1.cygnus.com>
157
158 * mi-read-memory.exp: Test of ``-o <offset>'' now works.
159
160 1999-12-16 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
161
162 * mi-var-cmd.exp: Fix 2 tests outputs.
163
164 * mi-var-child.exp: Add many more tests.
165
166 * mi-var-display.exp: Add many more tests.
167
168 * var-cmd.c: Change type of incr_a parameter to char.
169
170 1999-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
171
172 * mi-var-block.exp: Set up xfails fro known problems.
173
174 * mi-var-display.exp: Set up printing of values of 'e' and 'anone'
175 as xfails.
176
177 * mi-var-child.exp: Fix typos.
178
179 1999-12-15 Andrew Cagney <cagney@b1.cygnus.com>
180
181 * mi-var-child.exp: Space was missing before ``[10]''.
182
183 Wed Dec 15 19:23:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
184
185 * mi-read-memory.exp: Add test for ``-o <offset>''. Update checks
186 and match next-row et.al.
187
188 1999-12-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
189
190 * mi-var-display.exp : New file. Tests for format and type, with
191 unions, structs and enums.
192
193 * mi-var-cmd.exp: Add some var-assign tests.
194
195 1999-12-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
196
197 * mi-var-cmd.exp, mi-var-block.exp, mi-var-child.exp: New files
198 some tests for -var* commands.
199
200 * var-cmd.c: New source file for var-* commands tests.
201 * gdb.mi/Makefile.in (PROGS): Add var-cmd.
202
203 Mon Dec 13 18:06:09 1999 Andrew Cagney <cagney@b1.cygnus.com>
204
205 * mi-break.exp: Fix quoting. Changed "srcfile.c":6 to
206 "\"srcfile.c\":6".
207 * mi-simplerun.exp: Fix quoting.
208
209 Sat Dec 11 21:33:37 1999 Andrew Cagney <cagney@b1.cygnus.com>
210
211 * mi-simplerun.exp (exec-finish): Fix return value was zero,
212 should have been three.
213
214 * mi-disassemble.exp: Reduce number of wild card matches in
215 * patterns. Remove all numeric constants.
216
217 1999-12-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
218
219 * mi-eval.exp: New file. Some initial tests for
220 -data-evaluate-expression.
221
222 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
223
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.
227
228 1999-12-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
229
230 * mi-regs.exp: Fix test for format 'N' for
231 data-list-register-values.
232
233 1999-12-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
234
235 * mi-disassemble.exp: Update expected output. Break test of
236 disassembly in mixed mode into 2 functions.
237
238 * mi-regs.exp: Initial register tests. Works only on sparc right
239 now.
240
241 1999-12-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
242
243 * mi-stepi.exp: New file. Tests exec-step-instruction and
244 exec-next-instruction.
245 * mi-until.exp: New file. Tests exec-until.
246 * until.c: New file.
247 * mi-return.exp: New file. Tests exec-return.
248
249 Thu Dec 2 09:38:23 1999 Andrew Cagney <cagney@b1.cygnus.com>
250
251 * mi-hack-cli.exp: New test. Check the hacked up access to the
252 CLI.
253
254 Wed Dec 1 16:47:40 1999 Andrew Cagney <cagney@b1.cygnus.com>
255
256 * mi-basics.exp: Delete calls to mi_delete_breakpoints,
257 mi_gdb_reinitialize_dir and mi_gdb_load. This test is checking
258 that these can work.
259
260 * mi-support.exp (mi_step, mi_next, mi_run_to_main): New
261 procedures.
262
263 * mi-read-memory.exp, mi-read-memory.c: New files. Test
264 data-read-memory command.
265
266 Tue Nov 30 23:54:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
267
268 * mi-support.exp: Don't start SID until after GDB has been started
269 and verified.
270
271 Tue Nov 30 22:21:33 1999 Andrew Cagney <cagney@b1.cygnus.com>
272
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
279 00-exec-run command.
280 (skip_mi_tests, setup_gdbmi, unset_gdbmi): Delete. Merged into
281 mi_gdb_start.
282
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.
286
287 Tue Nov 30 15:22:08 1999 Andrew Cagney <cagney@b1.cygnus.com>
288
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.
293
294 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
295
296 * mi-simplerun.exp (test_running_the_program): Remove XFAIL. The
297 output is fixed now.
298 (test_program_termination): Update output pattern.
299
300 Tue Nov 30 00:19:10 1999 Andrew Cagney <cagney@b1.cygnus.com>
301
302 * mi-console.c, mi-console.exp: New files. Test console output.
303
304 Mon Nov 29 17:59:13 1999 Andrew Cagney <cagney@b1.cygnus.com>
305
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.
311
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"}+.
316
317 * mi-simplerun.exp: Limit the timeout for ``step to callee4'' to
318 30 seconds.
319
320 Mon Nov 29 17:30:00 1999 Andrew Cagney <cagney@b1.cygnus.com>
321
322 * mi-support.exp (skip_mi_tests): Print UNTESTED when MI interface
323 isn't available. Start/stop instead of assuming GDB is running.
324 (MIFLAGS): Define.
325 * mi-simplerun.exp, mi-disassemble.exp, mi-break.exp,
326 mi-basics.exp, mi-watch.exp: Update.
327
328 1999-11-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
329
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.
333
334 Wed Nov 24 17:42:07 1999 Andrew Cagney <cagney@b1.cygnus.com>
335
336 * gdb.mi/ChangeLog-mi: MI entries moved to here.
337
338 Wed Nov 24 17:31:04 1999 Andrew Cagney <cagney@b1.cygnus.com>
339
340 * gdb.mi/mi-basics.exp, gdb.mi/mi-disassemble.exp,
341 gdb.mi/mi-simplerun.exp: Print warning message when test isn't
342 run.
343
344 1999-11-23 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
345
346 * gdb.mi/mi-simplerun.exp: Update output of break-list to account for
347 "times" field.
348
349 1999-11-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
350
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.
354
355 1999-11-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
356
357 * gdb.mi/mi-disassemble.exp: Update output of execution commands
358 to reflect new 'reason' field.
359 * gdb.mi/mi-simplerun.exp: Ditto.
360
361 1999-10-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
362
363 * gdb.mi/mi-simplerun.exp: Add more stack-list-frames tests.
364
365 * gdb.mi/mi-disassemble.exp: Update 'run to main' output.
366
367 * gdb.mi/mi-simplerun.exp: Update execution commands
368 output. Update backtrace output.
369
370 1999-10-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
371
372 * gdb.mi/mi-disassemble.exp: Add new tests for the new
373 disassembly command parameter, number of lines.
374
375 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
376
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.
380
381 1999-10-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
382
383 * gdb.mi/mi-disassemble.exp: New file.
384
385 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
386
387 * lib/mi-support.exp (mi_run_cmd): Give up after two restart
388 attempts.
389
390 1999-09290 Fernando Nasser <fnasser@totem.to.cygnus.com>
391
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.
395
396 1999-06-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
397
398 * gdb.mi/basics.c (main): Fix return code. Add a print "Hello,
399 World".
400 * gdb.mi/mi-basics.exp: Fix message texts and numbering.
401 * gdb.mi/mi-simplerun.exp: Ditto. Also, add new tests and improve
402 some patterns.
403
404 1999-06-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
405
406 * lib/mi-support.exp (mi_gdb_reinitialize_dir): Remove query as an
407 acceptable response to the environment-dir command.
408
409 1999-06-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
410
411 * lib/mi-support.exp (mi_delete_breakpoints): Remove references to
412 gdb-cli.
413 (mi_run_cmd): Ditto.
414
415 1999-06-25 Fernando Nasser <fnasser@totem.to.cygnus.com>
416
417 * lib/mi-support.exp (skip_mi_tests): Use gdb-version to check for
418 headless output format.
419
420 1999-06-24 Fernando Nasser <fnasser@totem.to.cygnus.com>
421
422 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Add global
423 spec for hex.
424
425 1999-06-24 Fernando Nasser <fnasser@totem.to.cygnus.com>
426
427 * lib/mi-support.exp (mi_run_cmd): Fix pattern and add a timeout
428 clause.
429
430 1999-06-24 Fernando Nasser <fnasser@totem.to.cygnus.com>
431
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
444 above.
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
449 targets.
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.
454
455 1999-06-22 Fernando Nasser <fnasser@totem.to.cygnus.com>
456
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.
460
461 1999-06-22 Fernando Nasser <fnasser@totem.to.cygnus.com>
462
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.
466
467 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
468
469 * gdb.mi/mi-basics.exp: Skip all tests if the MI interpreter is
470 not active.
471
472 1999-06-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
473
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.
479
480 \f
481 Local Variables:
482 mode: indented-text
483 left-margin: 8
484 fill-column: 74
485 version-control: never
486 End:
This page took 0.042678 seconds and 4 git commands to generate.