OSDN Git Service

2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
[pf3gnuchains/pf3gnuchains3x.git] / gdb / testsuite / gdb.mi / ChangeLog-mi
1 2000-03-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
2
3         * mi-basics.exp: Comment out test for a still unimplemented operation.
4
5         * mi-disassemble.exp: Rewrite most of the tests to conform to new
6         disassemble interface.
7
8 Sat Mar  4 13:55:08 2000  Andrew Cagney  <cagney@b1.cygnus.com>
9
10         From Fri 3 Mar 2000 Peter Schauer:
11         * mi-support.exp (mi_gdb_start): When GDB doesn't recongize -i=mi
12         option, assume no MI support present.
13
14 2000-02-01  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
15
16         * mi-support.exp (mi_gdb_start): Update to recognize start up
17         message with 'UI_OUT' instead of 'HEADLESS'.
18
19 2000-01-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
20
21         * mi-regs.exp (test_running_the_program): Add global var 'hex'.
22
23         * mi-stack.exp, mi-stepi.exp, mi-until.exp, mi-watch.exp,
24         mi-var-display.exp, mi-var-cmd.exp, mi-var-child.exp,
25         mi-var-block.exp: Update all stopped messages.
26
27 2000-01-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
28
29         * mi-console.exp, mi-disassemble.exp, mi-eval.exp,
30         mi-read-memory.exp, mi-regs.exp, mi-return.exp, mi-simplerun.exp:
31         Update stopped messages, update copyright.
32         
33         * mi-disassemble.exp: Update error messages output.
34         
35         * mi-support.exp (proc mi_step): Make gdb do a 'step' command, not
36         a 'next'. Update stopped message.
37         (proc mi_next): Update stop message.
38         (proc mi_run_to_main): Update stopped message.
39         Update copyright.
40
41 2000-01-11  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
42
43         * mi-simplerun.exp: Remove stack frames tests from here, to:
44
45         * mi-stack.exp: New file, tests for stack commands.
46
47         * mi-support.exp (mi_run_to_main, mi_next, mi_step) : Update to
48         include thread-id in stopped message.
49
50         * mi-regs.exp: Update break-insert output.
51
52         * (mi-console.exp, mi-disassemble.exp, mi-eval.exp,
53         mi-read-memory.exp, mi-regs.exp, mi-return.exp, mi-simplerun.exp,
54         mi-stepi.exp, mi-until.exp, mi-var-block.exp, mi-var-child.exp,
55         mi-var-cmd.exp, mi-var-display.exp, mi-watch.exp): Update stopped
56         message to include thread-id.
57
58 Wed Dec 29 22:06:05 1999  Andrew Cagney  <cagney@b1.cygnus.com>
59
60         * mi-watch.exp, mi-var-display.exp, mi-var-cmd.exp,
61         mi-var-child.exp, mi-var-block.exp, mi-until.exp, mi-stepi.exp,
62         mi-simplerun.exp, mi-return.exp, mi-support.exp, mi-eval.exp,
63         mi-console.exp, mi-disassemble.exp, mi-break.exp: Update to
64         reflect extended output from -break-insert command.
65         
66         * mi-break.exp (test_rbreak_creation_and_listing): XFAIL regexp
67         tests.  -r flag broken by above.
68         
69 Sun Dec 19 19:28:13 1999  Andrew Cagney  <cagney@b1.cygnus.com>
70
71         * cpp_variable.cc, cpp_variable.h, c_variable.c: Delete.
72
73 Fri Dec 17 20:59:55 1999  Andrew Cagney  <cagney@b1.cygnus.com>
74
75         * mi-read-memory.exp: Test of ``-o <offset>'' now works.
76
77 1999-12-16  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
78
79         * mi-var-cmd.exp: Fix 2 tests outputs.
80
81         * mi-var-child.exp: Add many more tests.
82
83         * mi-var-display.exp: Add many more tests.
84
85         * var-cmd.c: Change type of incr_a parameter to char.
86
87 1999-12-15  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
88
89         * mi-var-block.exp: Set up xfails fro known problems.
90
91         * mi-var-display.exp: Set up printing of values of 'e' and 'anone'
92         as xfails.
93
94         * mi-var-child.exp: Fix typos.
95
96 1999-12-15  Andrew Cagney  <cagney@b1.cygnus.com>
97
98         * mi-var-child.exp: Space was missing before ``[10]''.
99
100 Wed Dec 15 19:23:38 1999  Andrew Cagney  <cagney@b1.cygnus.com>
101
102         * mi-read-memory.exp: Add test for ``-o <offset>''.  Update checks
103         and match next-row et.al.
104
105 1999-12-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
106
107         * mi-var-display.exp : New file. Tests for format and type, with
108         unions, structs and enums.
109         
110         * mi-var-cmd.exp: Add some var-assign tests.
111
112 1999-12-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com> 
113
114         * mi-var-cmd.exp, mi-var-block.exp, mi-var-child.exp: New files
115         some tests for -var* commands.
116
117         * var-cmd.c: New source file for var-* commands tests.
118         * gdb.mi/Makefile.in (PROGS): Add var-cmd.
119         
120 Mon Dec 13 18:06:09 1999  Andrew Cagney  <cagney@b1.cygnus.com>
121
122         * mi-break.exp: Fix quoting.  Changed "srcfile.c":6 to
123         "\"srcfile.c\":6".
124         * mi-simplerun.exp: Fix quoting.
125
126 Sat Dec 11 21:33:37 1999  Andrew Cagney  <cagney@b1.cygnus.com>
127
128         * mi-simplerun.exp (exec-finish): Fix return value was zero,
129         should have been three.
130
131         * mi-disassemble.exp: Reduce number of wild card matches in
132         * patterns.  Remove all numeric constants.
133
134 1999-12-09  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
135
136         * mi-eval.exp: New file. Some initial tests for
137         -data-evaluate-expression.
138
139 1999-12-09  Fernando Nasser  <fnasser@totem.to.cygnus.com>
140
141         * c_variable.c, cpp_variable.cc, cpp_variable.h: New files.  Used
142         for testing "var" operations.
143         * Makefile.in: Add reference to the above files.
144
145 1999-12-08  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
146
147         * mi-regs.exp: Fix test for format 'N' for
148         data-list-register-values.
149
150 1999-12-07  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
151
152         * mi-disassemble.exp: Update expected output. Break test of
153         disassembly in mixed mode into 2 functions.
154
155         * mi-regs.exp: Initial register tests. Works only on sparc right
156         now.
157
158 1999-12-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
159
160         * mi-stepi.exp: New file. Tests exec-step-instruction and
161         exec-next-instruction.
162         * mi-until.exp: New file. Tests exec-until.
163         * until.c: New file.
164         * mi-return.exp: New file. Tests exec-return.
165
166 Thu Dec  2 09:38:23 1999  Andrew Cagney  <cagney@b1.cygnus.com>
167
168         * mi-hack-cli.exp: New test.  Check the hacked up access to the
169         CLI.
170
171 Wed Dec  1 16:47:40 1999  Andrew Cagney  <cagney@b1.cygnus.com>
172
173         * mi-basics.exp: Delete calls to mi_delete_breakpoints,
174         mi_gdb_reinitialize_dir and mi_gdb_load.  This test is checking
175         that these can work.
176
177         * mi-support.exp (mi_step, mi_next, mi_run_to_main): New
178         procedures.
179
180         * mi-read-memory.exp, mi-read-memory.c: New files.  Test
181         data-read-memory command.
182         
183 Tue Nov 30 23:54:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
184
185         * mi-support.exp: Don't start SID until after GDB has been started
186         and verified.
187         
188 Tue Nov 30 22:21:33 1999  Andrew Cagney  <cagney@b1.cygnus.com>
189
190         * mi-support.exp (mi_uncatched_gdb_exit): When SID, call sid_exit.
191         (mi_gdb_start): When SID, call sid_start.
192         (mi_gdb_start): Add MIFLAGS to spawn-GDB command.  Check for
193         HEADLESS gdb.  Return non-zero when GDB fails to start.
194         (mi_gdb_load): When SID or SIM, download program.
195         (mi_run_cmd): Don't do download here.  Assume target supports the
196         00-exec-run command.
197         (skip_mi_tests, setup_gdbmi, unset_gdbmi): Delete.  Merged into
198         mi_gdb_start.
199
200         * mi-basics.exp, mi-break.exp, mi-console.exp, mi-disassemble.exp,
201         mi-simplerun.exp, mi-watch.exp: Update.  Check status from
202         mi_gdb_start indicating that GDB started correctly.
203
204 Tue Nov 30 15:22:08 1999  Andrew Cagney  <cagney@b1.cygnus.com>
205
206         * mi-support.exp (setup_gdbmi, unset_gdbmi): New
207         procedures.  Setup/unset dejagnu for mi tests.
208         * mi-basics.exp, mi-console.exp, mi-simplerun.exp, mi-break.exp,
209         mi-disassemble.exp, mi-watch.exp: Update.
210
211 1999-11-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
212
213         * mi-simplerun.exp (test_running_the_program): Remove XFAIL. The
214         output is fixed now.
215         (test_program_termination): Update output pattern.
216
217 Tue Nov 30 00:19:10 1999  Andrew Cagney  <cagney@b1.cygnus.com>
218
219         * mi-console.c, mi-console.exp: New files. Test console output.
220
221 Mon Nov 29 17:59:13 1999  Andrew Cagney  <cagney@b1.cygnus.com>
222
223         * mi-support.exp (mi_run_command): Check for exec-run command
224         failure due to MI not having an active target.
225         (mi_run_command): Check for and handle a builtin simulator target.
226         (mi_run_command): Don't check/handle for ``The program has been
227         started already'', not a valid MI response.
228         
229         * mi-simplerun.exp (test_running_the_program): Update all patterns
230         to match async output.
231         (test_running_the_program): Mark ``step to callee4'' as XFAIL.  MI
232         output contains {,reason="end-stepping-range"}+.
233
234         * mi-simplerun.exp: Limit the timeout for ``step to callee4'' to
235         30 seconds.
236
237 Mon Nov 29 17:30:00 1999  Andrew Cagney  <cagney@b1.cygnus.com>
238
239         * mi-support.exp (skip_mi_tests): Print UNTESTED when MI interface
240         isn't available.  Start/stop instead of assuming GDB is running.
241         (MIFLAGS): Define.
242         * mi-simplerun.exp, mi-disassemble.exp, mi-break.exp,
243         mi-basics.exp, mi-watch.exp: Update.
244
245 1999-11-26  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
246
247         * mi-simplerun.exp: Move break-insert {-t, -r} from here.
248         * mi-break.exp: To here. New file.
249         * mi-watch.exp: New file. Tests for watchpoints.
250
251 Wed Nov 24 17:42:07 1999  Andrew Cagney  <cagney@b1.cygnus.com>
252
253         * gdb.mi/ChangeLog-mi: MI entries moved to here.
254
255 Wed Nov 24 17:31:04 1999  Andrew Cagney  <cagney@b1.cygnus.com>
256
257         * gdb.mi/mi-basics.exp, gdb.mi/mi-disassemble.exp,
258         gdb.mi/mi-simplerun.exp: Print warning message when test isn't
259         run.
260
261 1999-11-23  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
262
263         * gdb.mi/mi-simplerun.exp: Update output of break-list to account for
264         "times" field.
265
266 1999-11-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
267
268         * gdb.mi/mi-simplerun.exp: Add tests for temporary breakpoints
269         and bp based on regular expressions.
270         * gdb.mi/mi-disassemble.exp: Fix typo.
271
272 1999-11-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
273
274         * gdb.mi/mi-disassemble.exp: Update output of execution commands
275         to reflect new 'reason' field.
276         * gdb.mi/mi-simplerun.exp: Ditto.
277
278 1999-10-25  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
279
280         * gdb.mi/mi-simplerun.exp: Add more stack-list-frames tests.
281
282         * gdb.mi/mi-disassemble.exp: Update 'run to main' output.  
283
284         * gdb.mi/mi-simplerun.exp: Update execution commands
285         output. Update backtrace output.
286         
287 1999-10-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
288
289         * gdb.mi/mi-disassemble.exp: Add new tests for the new
290         disassembly command parameter, number of lines.
291
292 Mon Oct 11 13:57:21 1999  Andrew Cagney  <cagney@amy.cygnus.com>
293
294         * lib/mi-support.exp: Break complicated gdb_expect containing
295         exp_continue into a while within an expect.  Don't attempt a start
296         more than three times.  Check return value from gdb_load.
297         
298 1999-10-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
299
300         * gdb.mi/mi-disassemble.exp: New file.
301
302 Wed Oct  6 12:05:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
303
304         * lib/mi-support.exp (mi_run_cmd): Give up after two restart
305         attempts.
306
307 1999-09290  Fernando Nasser  <fnasser@totem.to.cygnus.com>
308
309         * gdb.mi/mi-basics.exp: Update to current syntax and output formats.
310         * gdb.mi/mi-simplerun.exp: Ditto.
311         * lib/mi-support.exp (mi_delete_breakpoints): Ditto.
312
313 1999-06-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
314
315         * gdb.mi/basics.c (main): Fix return code.  Add a print "Hello,
316         World".
317         * gdb.mi/mi-basics.exp: Fix message texts and numbering.
318         * gdb.mi/mi-simplerun.exp: Ditto. Also, add new tests and improve
319         some patterns.
320
321 1999-06-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
322
323         * lib/mi-support.exp (mi_gdb_reinitialize_dir): Remove query as an
324         acceptable response to the environment-dir command.
325
326 1999-06-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
327
328         * lib/mi-support.exp (mi_delete_breakpoints): Remove references to
329         gdb-cli.
330         (mi_run_cmd): Ditto.
331
332 1999-06-25  Fernando Nasser  <fnasser@totem.to.cygnus.com>
333
334         * lib/mi-support.exp (skip_mi_tests): Use gdb-version to check for
335         headless output format.
336
337 1999-06-24  Fernando Nasser  <fnasser@totem.to.cygnus.com>
338
339         * gdb.mi/mi-simplerun.exp (test_controlled_execution): Add global
340         spec for hex.
341
342 1999-06-24  Fernando Nasser  <fnasser@totem.to.cygnus.com>
343
344         * lib/mi-support.exp (mi_run_cmd): Fix pattern and add a timeout
345         clause.
346
347 1999-06-24  Fernando Nasser  <fnasser@totem.to.cygnus.com>
348
349         * lib/mi-support.exp: Use mi_gdb_prompt instead of a modified
350         gdb_prompt.  Remove uneeded loading of libgloss.
351         (mi_gdb_exit): Remove prompt argument.
352         (mi_uncatched_gdb_exit): Ditto.
353         (mi_run_cmd): New proc. MI version of gdb_run.
354         (skip_mi_tests): New proc. Check if gdb is capable of producing
355         headless formatted output.
356         * gdb.mi/mi-basics.exp: Use mi_gdb_prompt instead of a modified
357         gdb_prompt.  Eliminate parameter to mi_gdb_exit (as a result of
358         the above).  Test for skip_mi_tests before running.
359         Note: The above changes are interelated (need each other).
360         * gdb.mi/mi-simplerun.exp: Same changes as for mi-basics.exe
361         above.
362         (test_breakpoint_creation_and_listing): Remove insertion of
363         breakpoint at callee1 (and renumber tokens). Add tests for
364         break-list, break-disable and break-info.
365         (test_running_the_program): Use mi_run_cmd so it can run on remote
366         targets.
367         (test_controlled_execution): Fix broken test.
368         (test_program_termination): Test implemented.
369         * gdb.mi/basic.c (main): Small change to allow for testing of both
370         exec-next and exec-step operations.
371
372 1999-06-22  Fernando Nasser  <fnasser@totem.to.cygnus.com>
373
374         * lib/mi-support.exp (mi_gdb_test): New proc.  MI version of gdb_test.
375         * gdb.mi/mi-basics.exp: Use the above instead of gdb_test.
376         * gdb.mi/mi-simplerun.exp: Ditto.
377
378 1999-06-22  Fernando Nasser  <fnasser@totem.to.cygnus.com>
379
380         * gdb.mi/mi-simplerun.exp: New file. Tests simple debugging tasks. 
381         * gdb.mi/mi-basics.exp: Remove tests moved to above new file.
382         * lib/mi-support.exp: New file.  Support procedures for mi tests.
383
384 1999-06-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
385
386         * gdb.mi/mi-basics.exp: Skip all tests if the MI interpreter is
387         not active.
388
389 1999-06-03  Fernando Nasser  <fnasser@totem.to.cygnus.com>
390
391         * gdb.mi: New directory.
392         * configure.in: Configure it.
393         * configure: Regenerate.
394         * gdb.mi/{Makefile.in,configure.in,configure}: New files.
395         * gdb.mi/{mi-basics.exp,basics.c,testcmds}: New files.
396
397 \f
398 Local Variables:
399 mode: indented-text
400 left-margin: 8
401 fill-column: 74
402 version-control: never
403 End: