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