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