2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
[platform/upstream/binutils.git] / gdb / testsuite / gdb.mi / ChangeLog
1 2002-12-13  Jeff Johnston  <jjohnstn@redhat.com>
2
3         * mi-basics.exp: Change tests for -environment-directory.  Also add
4         tests for -environment-cd, -environment-pwd, and -environment-path.
5         Part of fix for PR gdb/741.
6
7 2002-11-05  Jeff Johnston  <jjohnstn@redhat.com>
8
9         * gdb792.cc: New file to test patch for PR gdb/792.
10         * gdb792.exp: Ditto.
11
12 2002-11-04  Elena Zannoni  <ezannoni@redhat.com>
13
14         * mi-console.exp: Use mi_runto, mi_run_to_main, mi_next_to,
15         mi_step_to wherever possible.  Update copyright notices.
16         * mi-disassemble.exp: Ditto.
17         * mi-eval.exp: Ditto.
18         * mi-read-memory.exp: Ditto.
19         * mi-regs.exp: Ditto.
20         * mi-return.exp: Ditto.
21         * mi-stack.exp: Ditto.
22         * mi-stepi.exp: Ditto.
23         * mi-var-block.exp: Ditto.
24         * mi-var-cmd.exp: Ditto.
25         * mi-watch.exp: Ditto.
26         * mi1-console.exp: Ditto.
27         * mi1-disassemble.exp: Ditto.
28         * mi1-eval.exp: Ditto.
29         * mi1-read-memory.exp: Ditto.
30         * mi1-regs.exp: Ditto.
31         * mi1-return.exp: Ditto.
32         * mi1-stack.exp: Ditto.
33         * mi1-stepi.exp: Ditto.
34         * mi1-var-block.exp: Ditto.
35         * mi1-var-cmd.exp: Ditto.
36         * mi1-watch.exp: Ditto.
37
38 2002-10-23  Jeff Johnston  <jjohnstn@redhat.com>
39
40         * mi-var-cmd.exp: Add tests to verify that a -var-assign that changes
41         a value shows up in the changelist of a -var-update.  Part of fix
42         for gdb/702.
43         * mi1-var-cmd.exp: Ditto.
44
45 2002-10-03  Jeff Johnston  <jjohnstn@redhat.com>
46
47         * mi-return.exp: Change expected frame output to remove extraneous
48         space in level field when frame level is single digit.  Part of
49         fix for PR gdb/192.
50         * mi-stack.exp: Ditto.
51         * mi1-return.exp: Ditto.
52         * mi1-stack.exp: Ditto.
53
54 2002-10-03  Jeff Johnston  <jjohnstn@redhat.com>
55
56         * mi-var-block.exp: Change expected output from -var-update
57         command to expect list format for "changelist".  Fix for
58         PR gdb/672.
59         * mi-var-cmd.exp: Ditto.
60         * mi-var-child: Ditto.
61
62 2002-09-25  Keith Seitz  <keiths@redhat.com>
63
64         * mi-pthreads.exp (get_mi_thread_list): Check if expect_out
65         exists before using it.
66         (check_mi_and_console_threads): Likewise.
67         * gdb669.exp (get_mi_thread_list): Likewise.
68         (check_mi_and_console_threads): Likewise.
69
70 2002-09-24  Keith Seitz  <keiths@redhat.com>
71
72         * configure.in: Add config header.
73         Check for pthread.h.
74         * configure: Regenerate.
75         * config.in: New file.
76         * pthreads.c: New file.
77         * mi-pthreads.exp: New file to test thread functionality.
78         * gdb669.exp: New file.
79
80 2002-09-17  Keith Seitz  <keiths@redhat.com>
81
82         * mi-var-cmd.exp: Add tests to check when varobj pinned to a
83         selected frame changes type.
84
85 2002-09-17  Keith Seitz  <keiths@redhat.com>
86
87         * mi-console.exp: Update copyright.
88         * mi-var-block.exp: Likewise.
89         * mi-var-cmd.exp: Likewise.
90         * mi-var-display.exp: Likewise.
91         * mi0-console.exp: Likewise.
92         * mi0-var-child.exp: Likewise.
93         * mi0-var-cmd.exp: Likewise.
94         * mi0-var-display.exp: Likewise.
95
96 2002-09-16  Keith Seitz  <keiths@redhat.com>
97
98         * gdb701.exp: New file for testing varobj target type bug.
99         * gdb701.c: New file.
100
101 2002-09-13  Keith Seitz  <keiths@redhat.com>
102
103         * mi-var-child.exp: Use mi_step_to and mi_execute_to instead
104         of a bunch of repeated send_gdb/gdb_expect statements.
105         Fix line numbers.
106
107 2002-09-10  Keith Seitz  <keiths@redhat.com>
108
109         * mi-simplerun.exp (test_controlled_execution): Follow renaming of
110         mi_run_to to mi_execute_to.
111         * mi-var-cmd.exp: Likewise.
112         * mi0-simplerun.exp: Likewise.
113         * mi0-var-cmd.exp: Likewise.
114
115 2002-09-03  Keith Seitz  <keiths@redhat.com>
116
117         * gdb680.exp: New file to test to check for uiout list/tuple
118         nesting bug.
119
120 2002-03-04  Michael Chastain  <mec@shout.net>
121
122         * mi-var-cmd.exp: In test "create local variable func",
123         accommodate gcc v3 function signature.
124         * mi0-var-cmd-exp: Ditto.
125
126 2002-02-05  Jim Blandy  <jimb@redhat.com>
127
128         * mi-regs.exp: Various cleanups for SPARC-only tests.
129         (test_breakpoints_creation_and_listing): Format of breakpoint
130         table has changed.
131         (sparc_register_tests): Expand floating-point number regexp to
132         recognize NaN values, too.  Replace ineffectual single backslash
133         before a hyphen with a double backslash.  Don't check the exact
134         numbers of the registers which have changed, since there's no way
135         to know which registers changed, exactly; just check that the
136         result is well-formed.
137         * mi0-regs.exp: (sparc_register_tests): Same as for
138         sparc_register_tests in mi-regs.exp.
139
140         * mi-var-child.exp ("get children of struct_declarations", "get
141         children of struct_declarations.s2.u2.u1s2", "get children of
142         weird"): Tolerate argument types when they appear in function
143         types.  (Dwarf 2 includes prototype info; STABS does not.)
144         * mi0-var-child.exp: Same.
145
146 2001-12-19  Keith Seitz  <keiths@redhat.com>
147
148         * mi-var-display.exp: char* variables have a child. Update all
149         occurences.
150         * mi0-var-display.exp: Likewise.
151
152 2001-08-29  Andrew Cagney  <cagney@redhat.com>
153
154         * mi-var-cmd.exp, mi0-var-cmd.exp: Variable lpcharacter has one
155         child.  Soften floating point tests.
156
157 2001-08-09  Andrew Cagney  <ac131313@redhat.com>
158
159         * mi0-var-block.exp, mi0-stack.exp, mi0-simplerun.exp,
160         mi0-regs.exp, mi0-watch.exp, mi0-stepi.exp, mi0-until.exp,
161         mi0-return.exp, mi0-read-memory.exp, mi0-eval.exp,
162         mi0-disassemble.exp, mi0-console.exp, mi-watch.exp,
163         mi-var-display.exp, mi-var-cmd.exp, mi-var-child.exp,
164         mi-until.exp, mi-var-block.exp, mi-stepi.exp, mi-stack.exp,
165         mi-simplerun.exp, mi-return.exp, mi-regs.exp, mi-read-memory.exp,
166         mi-disassemble.exp, mi-eval.exp, mi-console.exp: Replace pattern
167         matching thread=0 with one to also match thread=1.
168         Fix PR gdb/190.
169
170 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
171
172         * mi0-until.exp, mi-until.exp, mi0-stepi.exp, mi-stepi.exp,
173         mi-simplerun.exp, mi0-simplerun.exp, mi0-return.exp,
174         mi-return.exp, mi0-console.exp, mi-console.exp: Recognize an
175         unexpected run-to-main response. Report as a fail.
176
177 2001-06-27  Andrew Cagney  <ac131313@redhat.com>
178
179         * mi-disassemble.exp: Update to accept mi1 breakpoint tables.
180         * mi-basics.exp: Ditto.
181         * mi-simplerun.exp: Ditto.
182         * mi-watch.exp: Ditto. Add check for full header.
183         * mi-break.exp: Ditto. Add check for full header.
184
185 2001-06-26  Andrew Cagney  <ac131313@redhat.com>
186
187         * mi-stack.exp: Update.  Output for args=... and
188         locals=... changed to a list.
189         
190 2001-06-26  Andrew Cagney  <ac131313@redhat.com>
191
192         * mi-stack.exp: Update. Output for stack=..., args=... and
193         stack-args=... changed to a list.
194
195 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
196
197         * mi-console.exp: Update args=... part of stop-reason
198         patterns. Output changed to a list of arguments.
199         * mi-disassemble.exp: Ditto.
200         * mi-simplerun.exp: Ditto.
201         * mi-return.exp: Ditto.
202         * mi-read-memory.exp: Ditto.
203         * mi-eval.exp: Ditto.
204         * mi-watch.exp: Ditto.
205         * mi-var-display.exp: Ditto.
206         * mi-var-cmd.exp: Ditto.
207         * mi-var-child.exp: Ditto.
208         * mi-var-block.exp: Ditto.
209         * mi-until.exp: Ditto.
210         * mi-stepi.exp: Ditto.
211         * mi-stack.exp: Ditto.
212         * mi-regs.exp: Ditto.
213
214 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
215
216         * mi-read-memory.exp: Update patterns matching data-read-memory.
217         Outputs a list.
218
219 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
220
221         * mi-regs.exp: Update patterns matching register-values.  Outputs a
222         list.
223
224 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
225
226         * mi-regs.exp: Update patters matching register-names.  Now
227         outputs a list.
228
229 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
230
231         * mi-regs.exp: Update patterns matching changed-registers.  Now
232         outputs a list.
233
234 2001-06-23  Andrew Cagney  <ac131313@redhat.com>
235
236         * ChangeLog-mi: Rename to ChangeLog.
237         * mi-basics.exp: Remove local emacs variable defining
238         change-log-default-name.
239         * mi-break.exp, mi-console.exp, mi-disassemble.exp: Ditto.
240         * mi-eval.exp, mi-hack-cli.exp, mi-read-memory.exp: Ditto.
241         * mi-regs.exp, mi-return.exp, mi-simplerun.exp: Ditto.
242         * mi-stack.exp, mi-stepi.exp, mi-until.exp: Ditto.
243         * mi-var-block.exp, mi-var-child.exp, mi-var-cmd.exp: Ditto.
244         * mi-var-display.exp, mi-watch.exp, mi0-basics.exp: Ditto.
245         * mi0-break.exp, mi0-console.exp, mi0-disassemble.exp: Ditto.
246         * mi0-eval.exp, mi0-hack-cli.exp, mi0-read-memory.exp: Ditto.
247         * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Ditto.
248         * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Ditto.
249         * mi0-var-block.exp, mi0-var-child.exp, mi0-var-cmd.exp: Ditto.
250         * mi0-var-display.exp, mi0-watch.exp: Ditto.
251
252 2001-06-23  Andrew Cagney  <ac131313@redhat.com>
253
254         * mi-disassemble.exp: Update patterns matching data-disassemble
255         output.  Now produces a list of instructions and a list of
256         source/assembly lines.
257
258 2001-06-18  Andrew Cagney  <ac131313@redhat.com>
259
260         * mi-basics.exp, mi-break.exp, mi-console.exp, mi-disassemble.exp,
261         mi-eval.exp, mi-hack-cli.exp, mi-read-memory.exp, mi-regs.exp,
262         mi-return.exp, mi-simplerun.exp, mi-stack.exp, mi-stepi.exp,
263         mi-until.exp, mi-var-block.exp, mi-var-child.exp, mi-var-cmd.exp,
264         mi-var-display.exp, mi-watch.exp, mi0-basics.exp, mi0-break.exp,
265         mi0-console.exp, mi0-disassemble.exp, mi0-eval.exp,
266         mi0-hack-cli.exp, mi0-read-memory.exp, mi0-regs.exp,
267         mi0-return.exp, mi0-simplerun.exp, mi0-stack.exp, mi0-stepi.exp,
268         mi0-until.exp, mi0-var-block.exp, mi0-var-child.exp,
269         mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Use MIFLAGS
270         to explictly select an interpreter.
271
272 2001-06-16  Andrew Cagney  <ac131313@redhat.com>
273
274         MI0 was the never enabled MI interface included in GDB 5.0.
275         * mi0-basics.exp: Copy mi-basics.exp.
276         * mi0-break.exp: Copy mi-break.exp.
277         * mi0-console.exp: Copy mi-console.exp.
278         * mi0-disassemble.exp: Copy mi-disassemble.exp.
279         * mi0-eval.exp: Copy mi-eval.exp.
280         * mi0-hack-cli.exp: Copy mi-hack-cli.exp.
281         * mi0-read-memory.exp: Copy mi-read-memory.exp.
282         * mi0-regs.exp: Copy mi-regs.exp.
283         * mi0-return.exp: Copy mi-return.exp.
284         * mi0-simplerun.exp: Copy mi-simplerun.exp.
285         * mi0-stack.exp: Copy mi-stack.exp.
286         * mi0-stepi.exp: Copy mi-stepi.exp.
287         * mi0-until.exp: Copy mi-until.exp.
288         * mi0-var-block.exp: Copy mi-var-block.exp.
289         * mi0-var-child.exp: Copy mi-var-child.exp.
290         * mi0-var-cmd.exp: Copy mi-var-cmd.exp.
291         * mi0-var-display.exp: Copy mi-var-display.exp.
292         * mi0-watch.exp: Copy mi-watch.exp.
293         
294 2001-05-11  Fernando Nasser  <fnasser@redhat.com>
295
296         * mi-var-child.exp: Adjust for the fact that now (char *) can be
297         dereferenced.
298
299 2001-03-06  Kevin Buettner  <kevinb@redhat.com>
300
301         * mi-basics.exp, mi-break.exp, mi-disassemble.exp,
302         mi-eval.exp, mi-hack-cli.exp, mi-read-memory.exp, mi-regs.exp,
303         mi-return.exp, mi-simplerun.exp, mi-stack.exp, mi-stepi.exp,
304         mi-until.exp, mi-watch.exp: Update/correct copyright notices.
305
306 2001-01-20  Mark Kettenis  <kettenis@gnu.org>
307
308         * mi-support.exp (mi_gdb_start): Skip mi tests if -i flag is
309         recognized (i.e. if GDB was compiled with UI_OUT, but the mi
310         interpreter wasn't recognized (because it wasn't compiled in).
311
312 Tue Apr 18 15:36:07 2000  Andrew Cagney  <cagney@b1.cygnus.com>
313
314         * Makefile.in (clean mostlyclean): Do not delete $(MISCELLANEOUS).
315
316 Tue Mar 14 15:54:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
317
318         * basics.c: Add EMACS local variable pointing change-log at this
319         file.
320         * Makefile.in: Ditto
321
322 2000-03-13  James Ingham  <jingham@leda.cygnus.com>
323
324         * mi-var-block.exp: The error report from varobj_create changed
325         since I am now trapping parse_exp_1 errors.  Change the tests to
326         match the new error message.
327         * mi-var-child.exp: Ditto.
328         * mi-var-cmd.exp: Ditto.
329
330 2000-03-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
331
332         * mi-disassemble.exp: Don't assume numbers for the offset
333         values. They can be different depending on the architecture.
334
335         * mi-watch.exp (test_watchpoint_triggering): In same cases the
336         type can be 'hw wathcpoint' not just 'watchpoint'. Adjust for that.
337
338         * basics.c (callee4): Make the function return something,
339         otherwise the return value is undefined.
340
341 2000-03-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
342
343         * mi-basics.exp: Comment out test for a still unimplemented operation.
344
345         * mi-disassemble.exp: Rewrite most of the tests to conform to new
346         disassemble interface.
347
348 Sat Mar  4 13:55:08 2000  Andrew Cagney  <cagney@b1.cygnus.com>
349
350         From Fri 3 Mar 2000 Peter Schauer:
351         * mi-support.exp (mi_gdb_start): When GDB doesn't recongize -i=mi
352         option, assume no MI support present.
353
354 2000-02-01  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
355
356         * mi-support.exp (mi_gdb_start): Update to recognize start up
357         message with 'UI_OUT' instead of 'HEADLESS'.
358
359 2000-01-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
360
361         * mi-regs.exp (test_running_the_program): Add global var 'hex'.
362
363         * mi-stack.exp, mi-stepi.exp, mi-until.exp, mi-watch.exp,
364         mi-var-display.exp, mi-var-cmd.exp, mi-var-child.exp,
365         mi-var-block.exp: Update all stopped messages.
366
367 2000-01-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
368
369         * mi-console.exp, mi-disassemble.exp, mi-eval.exp,
370         mi-read-memory.exp, mi-regs.exp, mi-return.exp, mi-simplerun.exp:
371         Update stopped messages, update copyright.
372         
373         * mi-disassemble.exp: Update error messages output.
374         
375         * mi-support.exp (proc mi_step): Make gdb do a 'step' command, not
376         a 'next'. Update stopped message.
377         (proc mi_next): Update stop message.
378         (proc mi_run_to_main): Update stopped message.
379         Update copyright.
380
381 2000-01-11  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
382
383         * mi-simplerun.exp: Remove stack frames tests from here, to:
384
385         * mi-stack.exp: New file, tests for stack commands.
386
387         * mi-support.exp (mi_run_to_main, mi_next, mi_step) : Update to
388         include thread-id in stopped message.
389
390         * mi-regs.exp: Update break-insert output.
391
392         * (mi-console.exp, mi-disassemble.exp, mi-eval.exp,
393         mi-read-memory.exp, mi-regs.exp, mi-return.exp, mi-simplerun.exp,
394         mi-stepi.exp, mi-until.exp, mi-var-block.exp, mi-var-child.exp,
395         mi-var-cmd.exp, mi-var-display.exp, mi-watch.exp): Update stopped
396         message to include thread-id.
397
398 Wed Dec 29 22:06:05 1999  Andrew Cagney  <cagney@b1.cygnus.com>
399
400         * mi-watch.exp, mi-var-display.exp, mi-var-cmd.exp,
401         mi-var-child.exp, mi-var-block.exp, mi-until.exp, mi-stepi.exp,
402         mi-simplerun.exp, mi-return.exp, mi-support.exp, mi-eval.exp,
403         mi-console.exp, mi-disassemble.exp, mi-break.exp: Update to
404         reflect extended output from -break-insert command.
405         
406         * mi-break.exp (test_rbreak_creation_and_listing): XFAIL regexp
407         tests.  -r flag broken by above.
408         
409 Sun Dec 19 19:28:13 1999  Andrew Cagney  <cagney@b1.cygnus.com>
410
411         * cpp_variable.cc, cpp_variable.h, c_variable.c: Delete.
412
413 Fri Dec 17 20:59:55 1999  Andrew Cagney  <cagney@b1.cygnus.com>
414
415         * mi-read-memory.exp: Test of ``-o <offset>'' now works.
416
417 1999-12-16  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
418
419         * mi-var-cmd.exp: Fix 2 tests outputs.
420
421         * mi-var-child.exp: Add many more tests.
422
423         * mi-var-display.exp: Add many more tests.
424
425         * var-cmd.c: Change type of incr_a parameter to char.
426
427 1999-12-15  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
428
429         * mi-var-block.exp: Set up xfails fro known problems.
430
431         * mi-var-display.exp: Set up printing of values of 'e' and 'anone'
432         as xfails.
433
434         * mi-var-child.exp: Fix typos.
435
436 1999-12-15  Andrew Cagney  <cagney@b1.cygnus.com>
437
438         * mi-var-child.exp: Space was missing before ``[10]''.
439
440 Wed Dec 15 19:23:38 1999  Andrew Cagney  <cagney@b1.cygnus.com>
441
442         * mi-read-memory.exp: Add test for ``-o <offset>''.  Update checks
443         and match next-row et.al.
444
445 1999-12-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
446
447         * mi-var-display.exp : New file. Tests for format and type, with
448         unions, structs and enums.
449         
450         * mi-var-cmd.exp: Add some var-assign tests.
451
452 1999-12-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com> 
453
454         * mi-var-cmd.exp, mi-var-block.exp, mi-var-child.exp: New files
455         some tests for -var* commands.
456
457         * var-cmd.c: New source file for var-* commands tests.
458         * gdb.mi/Makefile.in (PROGS): Add var-cmd.
459         
460 Mon Dec 13 18:06:09 1999  Andrew Cagney  <cagney@b1.cygnus.com>
461
462         * mi-break.exp: Fix quoting.  Changed "srcfile.c":6 to
463         "\"srcfile.c\":6".
464         * mi-simplerun.exp: Fix quoting.
465
466 Sat Dec 11 21:33:37 1999  Andrew Cagney  <cagney@b1.cygnus.com>
467
468         * mi-simplerun.exp (exec-finish): Fix return value was zero,
469         should have been three.
470
471         * mi-disassemble.exp: Reduce number of wild card matches in
472         * patterns.  Remove all numeric constants.
473
474 1999-12-09  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
475
476         * mi-eval.exp: New file. Some initial tests for
477         -data-evaluate-expression.
478
479 1999-12-09  Fernando Nasser  <fnasser@totem.to.cygnus.com>
480
481         * c_variable.c, cpp_variable.cc, cpp_variable.h: New files.  Used
482         for testing "var" operations.
483         * Makefile.in: Add reference to the above files.
484
485 1999-12-08  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
486
487         * mi-regs.exp: Fix test for format 'N' for
488         data-list-register-values.
489
490 1999-12-07  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
491
492         * mi-disassemble.exp: Update expected output. Break test of
493         disassembly in mixed mode into 2 functions.
494
495         * mi-regs.exp: Initial register tests. Works only on sparc right
496         now.
497
498 1999-12-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
499
500         * mi-stepi.exp: New file. Tests exec-step-instruction and
501         exec-next-instruction.
502         * mi-until.exp: New file. Tests exec-until.
503         * until.c: New file.
504         * mi-return.exp: New file. Tests exec-return.
505
506 Thu Dec  2 09:38:23 1999  Andrew Cagney  <cagney@b1.cygnus.com>
507
508         * mi-hack-cli.exp: New test.  Check the hacked up access to the
509         CLI.
510
511 Wed Dec  1 16:47:40 1999  Andrew Cagney  <cagney@b1.cygnus.com>
512
513         * mi-basics.exp: Delete calls to mi_delete_breakpoints,
514         mi_gdb_reinitialize_dir and mi_gdb_load.  This test is checking
515         that these can work.
516
517         * mi-support.exp (mi_step, mi_next, mi_run_to_main): New
518         procedures.
519
520         * mi-read-memory.exp, mi-read-memory.c: New files.  Test
521         data-read-memory command.
522         
523 Tue Nov 30 23:54:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
524
525         * mi-support.exp: Don't start SID until after GDB has been started
526         and verified.
527         
528 Tue Nov 30 22:21:33 1999  Andrew Cagney  <cagney@b1.cygnus.com>
529
530         * mi-support.exp (mi_uncatched_gdb_exit): When SID, call sid_exit.
531         (mi_gdb_start): When SID, call sid_start.
532         (mi_gdb_start): Add MIFLAGS to spawn-GDB command.  Check for
533         HEADLESS gdb.  Return non-zero when GDB fails to start.
534         (mi_gdb_load): When SID or SIM, download program.
535         (mi_run_cmd): Don't do download here.  Assume target supports the
536         00-exec-run command.
537         (skip_mi_tests, setup_gdbmi, unset_gdbmi): Delete.  Merged into
538         mi_gdb_start.
539
540         * mi-basics.exp, mi-break.exp, mi-console.exp, mi-disassemble.exp,
541         mi-simplerun.exp, mi-watch.exp: Update.  Check status from
542         mi_gdb_start indicating that GDB started correctly.
543
544 Tue Nov 30 15:22:08 1999  Andrew Cagney  <cagney@b1.cygnus.com>
545
546         * mi-support.exp (setup_gdbmi, unset_gdbmi): New
547         procedures.  Setup/unset dejagnu for mi tests.
548         * mi-basics.exp, mi-console.exp, mi-simplerun.exp, mi-break.exp,
549         mi-disassemble.exp, mi-watch.exp: Update.
550
551 1999-11-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
552
553         * mi-simplerun.exp (test_running_the_program): Remove XFAIL. The
554         output is fixed now.
555         (test_program_termination): Update output pattern.
556
557 Tue Nov 30 00:19:10 1999  Andrew Cagney  <cagney@b1.cygnus.com>
558
559         * mi-console.c, mi-console.exp: New files. Test console output.
560
561 Mon Nov 29 17:59:13 1999  Andrew Cagney  <cagney@b1.cygnus.com>
562
563         * mi-support.exp (mi_run_command): Check for exec-run command
564         failure due to MI not having an active target.
565         (mi_run_command): Check for and handle a builtin simulator target.
566         (mi_run_command): Don't check/handle for ``The program has been
567         started already'', not a valid MI response.
568         
569         * mi-simplerun.exp (test_running_the_program): Update all patterns
570         to match async output.
571         (test_running_the_program): Mark ``step to callee4'' as XFAIL.  MI
572         output contains {,reason="end-stepping-range"}+.
573
574         * mi-simplerun.exp: Limit the timeout for ``step to callee4'' to
575         30 seconds.
576
577 Mon Nov 29 17:30:00 1999  Andrew Cagney  <cagney@b1.cygnus.com>
578
579         * mi-support.exp (skip_mi_tests): Print UNTESTED when MI interface
580         isn't available.  Start/stop instead of assuming GDB is running.
581         (MIFLAGS): Define.
582         * mi-simplerun.exp, mi-disassemble.exp, mi-break.exp,
583         mi-basics.exp, mi-watch.exp: Update.
584
585 1999-11-26  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
586
587         * mi-simplerun.exp: Move break-insert {-t, -r} from here.
588         * mi-break.exp: To here. New file.
589         * mi-watch.exp: New file. Tests for watchpoints.
590
591 Wed Nov 24 17:42:07 1999  Andrew Cagney  <cagney@b1.cygnus.com>
592
593         * gdb.mi/ChangeLog-mi: MI entries moved to here.
594
595 Wed Nov 24 17:31:04 1999  Andrew Cagney  <cagney@b1.cygnus.com>
596
597         * gdb.mi/mi-basics.exp, gdb.mi/mi-disassemble.exp,
598         gdb.mi/mi-simplerun.exp: Print warning message when test isn't
599         run.
600
601 1999-11-23  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
602
603         * gdb.mi/mi-simplerun.exp: Update output of break-list to account for
604         "times" field.
605
606 1999-11-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
607
608         * gdb.mi/mi-simplerun.exp: Add tests for temporary breakpoints
609         and bp based on regular expressions.
610         * gdb.mi/mi-disassemble.exp: Fix typo.
611
612 1999-11-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
613
614         * gdb.mi/mi-disassemble.exp: Update output of execution commands
615         to reflect new 'reason' field.
616         * gdb.mi/mi-simplerun.exp: Ditto.
617
618 1999-10-25  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
619
620         * gdb.mi/mi-simplerun.exp: Add more stack-list-frames tests.
621
622         * gdb.mi/mi-disassemble.exp: Update 'run to main' output.  
623
624         * gdb.mi/mi-simplerun.exp: Update execution commands
625         output. Update backtrace output.
626         
627 1999-10-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
628
629         * gdb.mi/mi-disassemble.exp: Add new tests for the new
630         disassembly command parameter, number of lines.
631
632 Mon Oct 11 13:57:21 1999  Andrew Cagney  <cagney@amy.cygnus.com>
633
634         * lib/mi-support.exp: Break complicated gdb_expect containing
635         exp_continue into a while within an expect.  Don't attempt a start
636         more than three times.  Check return value from gdb_load.
637         
638 1999-10-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
639
640         * gdb.mi/mi-disassemble.exp: New file.
641
642 Wed Oct  6 12:05:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
643
644         * lib/mi-support.exp (mi_run_cmd): Give up after two restart
645         attempts.
646
647 1999-09290  Fernando Nasser  <fnasser@totem.to.cygnus.com>
648
649         * gdb.mi/mi-basics.exp: Update to current syntax and output formats.
650         * gdb.mi/mi-simplerun.exp: Ditto.
651         * lib/mi-support.exp (mi_delete_breakpoints): Ditto.
652
653 1999-06-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
654
655         * gdb.mi/basics.c (main): Fix return code.  Add a print "Hello,
656         World".
657         * gdb.mi/mi-basics.exp: Fix message texts and numbering.
658         * gdb.mi/mi-simplerun.exp: Ditto. Also, add new tests and improve
659         some patterns.
660
661 1999-06-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
662
663         * lib/mi-support.exp (mi_gdb_reinitialize_dir): Remove query as an
664         acceptable response to the environment-dir command.
665
666 1999-06-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
667
668         * lib/mi-support.exp (mi_delete_breakpoints): Remove references to
669         gdb-cli.
670         (mi_run_cmd): Ditto.
671
672 1999-06-25  Fernando Nasser  <fnasser@totem.to.cygnus.com>
673
674         * lib/mi-support.exp (skip_mi_tests): Use gdb-version to check for
675         headless output format.
676
677 1999-06-24  Fernando Nasser  <fnasser@totem.to.cygnus.com>
678
679         * gdb.mi/mi-simplerun.exp (test_controlled_execution): Add global
680         spec for hex.
681
682 1999-06-24  Fernando Nasser  <fnasser@totem.to.cygnus.com>
683
684         * lib/mi-support.exp (mi_run_cmd): Fix pattern and add a timeout
685         clause.
686
687 1999-06-24  Fernando Nasser  <fnasser@totem.to.cygnus.com>
688
689         * lib/mi-support.exp: Use mi_gdb_prompt instead of a modified
690         gdb_prompt.  Remove uneeded loading of libgloss.
691         (mi_gdb_exit): Remove prompt argument.
692         (mi_uncatched_gdb_exit): Ditto.
693         (mi_run_cmd): New proc. MI version of gdb_run.
694         (skip_mi_tests): New proc. Check if gdb is capable of producing
695         headless formatted output.
696         * gdb.mi/mi-basics.exp: Use mi_gdb_prompt instead of a modified
697         gdb_prompt.  Eliminate parameter to mi_gdb_exit (as a result of
698         the above).  Test for skip_mi_tests before running.
699         Note: The above changes are interelated (need each other).
700         * gdb.mi/mi-simplerun.exp: Same changes as for mi-basics.exe
701         above.
702         (test_breakpoint_creation_and_listing): Remove insertion of
703         breakpoint at callee1 (and renumber tokens). Add tests for
704         break-list, break-disable and break-info.
705         (test_running_the_program): Use mi_run_cmd so it can run on remote
706         targets.
707         (test_controlled_execution): Fix broken test.
708         (test_program_termination): Test implemented.
709         * gdb.mi/basic.c (main): Small change to allow for testing of both
710         exec-next and exec-step operations.
711
712 1999-06-22  Fernando Nasser  <fnasser@totem.to.cygnus.com>
713
714         * lib/mi-support.exp (mi_gdb_test): New proc.  MI version of gdb_test.
715         * gdb.mi/mi-basics.exp: Use the above instead of gdb_test.
716         * gdb.mi/mi-simplerun.exp: Ditto.
717
718 1999-06-22  Fernando Nasser  <fnasser@totem.to.cygnus.com>
719
720         * gdb.mi/mi-simplerun.exp: New file. Tests simple debugging tasks. 
721         * gdb.mi/mi-basics.exp: Remove tests moved to above new file.
722         * lib/mi-support.exp: New file.  Support procedures for mi tests.
723
724 1999-06-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
725
726         * gdb.mi/mi-basics.exp: Skip all tests if the MI interpreter is
727         not active.
728
729 1999-06-03  Fernando Nasser  <fnasser@totem.to.cygnus.com>
730
731         * gdb.mi: New directory.
732         * configure.in: Configure it.
733         * configure: Regenerate.
734         * gdb.mi/{Makefile.in,configure.in,configure}: New files.
735         * gdb.mi/{mi-basics.exp,basics.c,testcmds}: New files.
736
737 \f
738 Local Variables:
739 mode: indented-text
740 left-margin: 8
741 fill-column: 74
742 version-control: never
743 End: