Change mi/data-disassemble command output to a list ([]) instead of
[deliverable/binutils-gdb.git] / gdb / mi / ChangeLog
CommitLineData
70242e8d
AC
12001-06-23 Andrew Cagney <ac131313@redhat.com>
2
3 * gdbmi.texinfo (data-disassemble): Update documentation of
4 output. Produces a list of instructions and a list of source
5 lines.
6
72001-06-22 Andrew Cagney <ac131313@redhat.com>
8
9 * mi-cmd-disas.c (mi_cmd_disassemble): For "-data-disassemble",
10 output a list instead of a tupple.
11
76fe6b98
AC
122001-06-21 Andrew Cagney <ac131313@redhat.com>
13
14 * mi-out.c (struct ui_out_data): Replace field first_header with
15 suppress_output.
16 (mi_begin, mi_end): Check suppress_header.
17 (mi_field_int, mi_field_skip): Ditto.
18 (mi_field_string, mi_field_fmt): Ditto.
19 (mi_table_begin): When nr_rows is zero, set suppress_header else,
20 output the start of the header.
21 (mi_table_body): Clear suppress header.
22
a7c14aa5
AC
232001-06-21 Andrew Cagney <ac131313@redhat.com>
24
25 * mi-out.c (mi_open): For lists, when mi_version > 0, use ``[''.
26 (mi_close): Ditto for ``]''.
27
b25959ec
AC
282001-06-20 Andrew Cagney <ac131313@redhat.com>
29
30 * mi-out.c (mi_table_header): Add parameter ``col_name''.
31
d63f1d40
AC
322001-06-18 Andrew Cagney <ac131313@redhat.com>
33
34 * mi-out.c: Include "gdb_assert.h".
35 (mi_table_begin): Add parameter ``nr_rows''.
36
b30bf9ee
AC
372001-06-18 Andrew Cagney <ac131313@redhat.com>
38
39 * mi-main.c: Use strncmp as the "mi" test. Allow "mi", "mi0" and
40 "mi1".
41 (mi_command_loop): Add parameter mi_version, pass to mi_out_new.
42 (mi1_command_loop, mi0_command_loop): New functions.
43 (_initialize_mi_main): Recognize "mi", "mi0" and "mi1".
44 * mi-out.c (mi_out_new): Add parameter mi_version.
45 (struct ui_out_data): Add field mi_version.
46 * mi-out.h (mi_out_new): Update.
47
163e6d2d
AC
482001-06-07 Andrew Cagney <ac131313@redhat.com>
49
50 * gdbmi.texinfo (GDB/MI Output Syntax): Add tuples and lists to
51 syntax.
52 (GDB/MI Draft Changes to Output Syntax): Delete section.
53
59807497
AC
54Mon Jun 11 17:22:25 2001 Andrew Cagney <cagney@b1.cygnus.com>
55
56 * mi-out.c: Fix typo. s/supress/suppress/.
57
d5e8ba62
AC
582001-06-09 Andrew Cagney <ac131313@redhat.com>
59
60 * mi-out.c (mi_table_end, mi_table_begin, mi_begin, mi_end): Move
61 supress_field_separator updates from here.
62 (mi_open, mi_close): To here.
63 (mi_open): Add parameter name. Output a field_separator.
64 (mi_table_begin): Update.
c4264430 65 (mi_table_header): Update.
d5e8ba62
AC
66 (mi_begin): Update.
67
e2e11a41
AC
682001-06-09 Andrew Cagney <ac131313@redhat.com>
69
5e173cfd
AC
70 * mi-out.c (mi_table_begin): Make char* parameters constant.
71 (mi_table_header): Ditto.
72 (mi_field_int): Ditto.
73 (mi_field_skip): Ditto.
74 (mi_field_string): Ditto.
75 (mi_field_fmt): Ditto.
76 (mi_text): Ditto.
77 (mi_message): Ditto.
e2e11a41 78
5a9aa5dc
AC
792001-05-12 Andrew Cagney <ac131313@redhat.com>
80
81 * mi-out.c (mi_close, mi_open): Output ``[]'' when a list.
82
666547aa
AC
83Fri May 11 13:55:07 2001 Andrew Cagney <cagney@b1.cygnus.com>
84
85 * mi-cmd-var.c: Replace ui_out_list_begin, ui_out_list_end and
86 make_cleanup_ui_out_list_end with ui_out_tupple_begin,
87 ui_out_tupple_end and make_cleanup_ui_out_tupple_begin_end.
88 * mi-cmd-stack.c: Ditto.
89 * mi-cmd-disas.c: Ditto.
90 * mi-main.c: Ditto.
91
9a0f0643
AC
922001-05-10 Andrew Cagney <ac131313@redhat.com>
93
94 * mi-out.c (mi_open, mi_close): Replace list_open and list_close.
95 (mi_table_begin): Update.
96 (mi_table_header): Update.
97 (mi_begin): Update.
98 (mi_table_body): Update.
99 (mi_table_end): Update.
100 (mi_end): Update.
101
6311b07d
AC
102Thu May 10 16:28:13 2001 Andrew Cagney <cagney@b1.cygnus.com>
103
104 * mi-main.c (mi_execute_async_cli_command): Always initialize
105 old_cleanups.
106
631ec795
AC
1072001-05-08 Andrew Cagney <ac131313@redhat.com>
108
109 * mi-out.c (mi_begin, mi_end): Replace mi_list_begin and
110 mi_list_end.
111 (mi_ui_out_impl): Update.
112
2e94c453
AC
1132001-03-28 Andrew Cagney <ac131313@redhat.com>
114
115 * mi-main.c (mi_cmd_data_read_memory): Use xcalloc.
116
e9c75b65
EZ
1172001-03-26 Eli Zaretskii <eliz@is.elta.co.il>
118
119 * gdbmi.texinfo: Update copyright. Change Permissions to GFDL.
120
8e2eec62
AC
1212001-03-20 Andrew Cagney <ac131313@redhat.com>
122
123 * mi-cmd-disas.c (mi_cmd_disassemble): Initialize ``file_string''
124 and ``line_num''. Consolidate declaration of argument variables.
125
cf4eee44
AC
1262001-03-19 Andrew Cagney <ac131313@redhat.com>
127
128 * mi-out.h: Remove #ifdef __STDC__.
129
a728f042
AC
1302001-03-08 Andrew Cagney <ac131313@redhat.com>
131
132 * mi-main.c (mi_cmd_data_list_register_names): Use NUM_REGS, not
133 ARCH_NUM_REGS.
134 (mi_cmd_data_list_changed_registers): Ditto.
135 (mi_cmd_data_list_register_values): Ditto.
136 (mi_cmd_data_write_register_values): Ditto.
137
b6ba6518
KB
1382001-03-06 Kevin Buettner <kevinb@redhat.com>
139
140 * gdbmi.texinfo, mi-cmd-disas.c, mi-cmd-stack.c, mi-cmd-var.c,
141 mi-cmds.c, mi-cmds.h, mi-console.c, mi-console.h, mi-getopt.c,
142 mi-getopt.h, mi-out.c, mi-out.h, mi-parse.c, mi-parse.h:
143 Update/correct copyright notices.
144
8e65ff28
AC
145Wed Feb 7 19:50:37 2001 Andrew Cagney <cagney@redhat.com>
146
147 * mi-getopt.c: Add __FILE__ and __LINE__ parameter to calls to
148 internal_error.
149 * mi-console.c: Ditto.
150 * mi-cmds.c: Ditto.
151 * mi-cmd-break.c: Ditto.
152
80ee4fd5
FN
1532001-01-27 Fernando Nasser <fnasser@redhat.com>
154
155 From Momchil Velikov <velco@fadata.bg>
156 * mi-cmd-disas.c (gdb_dis_asm_read_memory): Add missing memory
157 attributes argument in the call to `xfer_memory'.
158
46c6187f
KB
1592000-12-14 Kevin Buettner <kevinb@redhat.com>
160
e7b044d6
KB
161 * mi-cmd-disas.c, mi-cmd-var.c, mi-console.c, mi-main.c,
162 mi-parse.c: Replace occurrences of free() with xfree().
46c6187f 163
76995688
AC
164Fri Nov 17 16:07:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
165
166 * mi-main.c: Replace asprintf with xasprintf.
167 * mi-cmd-var.c (mi_cmd_var_create): Ditto.
168
96c405b3
EZ
1692000-10-16 Eli Zaretskii <eliz@is.elta.co.il>
170
171 * gdbmi.texinfo (GDB/MI Variable Objects): Dimensions of
172 multitable changed to "@columnfractions .4 .6". Suggested by
173 Dmitry Sivachenko <dima@Chg.RU>.
174
1c85fbd9
EZ
1752000-08-23 Eli Zaretskii <eliz@is.elta.co.il>
176
177 * gdbmi.texinfo: Change flathead -> @sc{gdb/mi}.
178 Fix typos and markup mistakes (from Dmitry S.
179 Sivachenko <dima@Chg.RU>).
180
e7997b74
EZ
1812000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
182
183 * gdbmi.texinfo: Change GDB -> @value{GDBN}, and
184 (gdb) -> (@value{GDBP}). Fix a few typos and some markup. From
185 Dmitry S. Sivachenko <dima@Chg.RU>.
186
e2f9c474
AC
187Tue May 16 14:13:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
188
189 * mi-main.c (mi_cmd_execute): Use free_current_contents.
190 (free_and_reset): Delete.
191
47cf603e
AC
192Mon May 15 16:17:56 2000 Andrew Cagney <cagney@b1.cygnus.com>
193
194 * mi-main.c (mi_cmd_data_assign, mi_cmd_data_evaluate_expression),
195 mi-cmd-var.c (mi_cmd_var_create, mi_cmd_var_delete): Delete
196 make_cleanup_func casts. Not needed.
197
d68fc559
EZ
1982000-05-07 Eli Zaretskii <eliz@is.elta.co.il>
199
200 * gdbmi.texinfo: Lots of typos and grammar fixes from Brian
201 Youmans <3diff@flib.gnu.ai.mit.edu>.
202
8b0ceefc
AC
203Wed Apr 26 18:35:19 2000 Andrew Cagney <cagney@b1.cygnus.com>
204
205 * gdbmi.texinfo (GDB/MI Output Syntax v2.0): Convert Draft 2.0
206 Output Syntax into a new section. Cross reference.
207 (menu): Fix tipo. GDB/MI Compatibility with CLI.
208
7162c0ca
EZ
2092000-04-23 Eli Zaretskii <eliz@is.elta.co.il>
210
211 * gdbmi.texinfo: Lots of changes, to include this document as part
212 of the GDB manual.
213
73a93a32
JI
2142000-03-13 James Ingham <jingham@leda.cygnus.com>
215
216 * mi-cmd-var.c (mi_cmd_var_create): Add special frame cookie "@"
217 to indicate an "USE_CURRENT_FRAME" variable.
218 (varobj_update_one): Add "in_scope" and "type_changed" to the
219 result.
220
cdffbaa2
EZ
2212000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
222
24e8cecf
EZ
223 * mi-cmds.h: Export mi_cmd_data_write_register_values.
224
225 * mi-cmds.c (mi_cmds): Implement data-write-register-values with
226 mi_cmd_data_write_register_values.
227
228 * mi-main.c (mi_cmd_data_write_register_values): New
229 function. Write a value into a register.
230
2312000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
232
cdffbaa2
EZ
233 * gdbmi.texinfo: Update data-disassemble documentation.
234
30e28a0e
EZ
2352000-03-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
236
237 * mi-cmd-disas.c (mi_cmd_disassemble): Use
238 ui_out_field_core_addr() instead of print_address_numeric(), to
239 maintain consistency throughout MI.
240
ab91fdd5
AC
241Wed Feb 23 17:09:39 2000 Andrew Cagney <cagney@b1.cygnus.com>
242
243 * mi-cmd-break.c, mi-cmd-disas.c, mi-cmd-stack.c, mi-cmd-var.c,
244 mi-cmds.c, mi-cmds.h, mi-console.c, mi-console.h, mi-getopt.c,
245 mi-getopt.h, mi-main.c, mi-out.c, mi-out.h, mi-parse.c,
246 mi-parse.h: Update copyright information.
247
ff844c8d
AC
248Wed Feb 23 13:31:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
249
250 * mi-cmd-disas.c (gdb_dis_asm_read_memory): Change LEN to unsigned
251 long. Match ../include/dis-asm.h change.
252
fb40c209
AC
253Wed Feb 23 10:30:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
254
255 * gdbmi.texinfo: Update copyright - FSF. Update version
256 information.
257
258 mi-cmd-break.c, mi-cmd-disas.c, mi-cmd-stack.c, mi-cmd-var.c,
259 mi-cmds.h, mi-main.c, mi-parse.c, mi-parse.h: Re-format using GNU
260 indent.
261
2622000-02-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
263
264 * mi-main.c: Add include of gdbcore.h for write_memory()
265 prototype.
266
2672000-02-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
268
269 * mi-cmd-disas.c (mi_cmd_disassemble): Change syntax of
270 command. Now use options.
271 Instead of printing the symbolic address of instructions via
272 print_address_symbolic(), use build_address_symbolic() and format
273 properly for output.
274 (gdb_do_disassmble): Delete.
275
2762000-02-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
277
278 * mi-cmd-disas.c (mi_cmd_disassemble):
279
2802000-02-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
281
282 * mi-main.c (mi_cmd_data_write_memory): New function. Write a
283 value into target memory.
284
285 * mi-cmds.h (mi_cmd_data_write_memory): Export.
286
287 * mi-cmds.c (mi_cmds): Hook up data-write-memory to
288 mi_cmd_data_write_memory().
289
2902000-02-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
291
292 * mi-main.c (mi_cmd_target_download): Correct error message to
293 report right function name.
294 (mi_cmd_target_select): Add doing exec cleanups at end.
295 (mi_cmd_data_read_memory): Correct typo.
296 (mi_cmd_execute): Do not simply free last_async_command, but reset
297 it to NULL as well.
298 (free_and_reset): New function, free the argument and set it to
299 NULL.
300 (mi_cmd_target_select_continuation): Delete prototype.
301
302Tue Feb 1 00:17:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
303
304 * mi-cmd-disas.c, mi-cmds.h, mi-console.c, mi-console.h,
305 mi-main.c, mi-out.c, mi-out.h: Update to reflect rename of
306 gdb-file / GDB_FILE to ui-file / ``struct ui_file''.
307
308Mon Jan 31 18:33:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
309
310 * mi-main.c (mi_command_loop): Delete reference to
311 fputs_unfiltered_hook.
312
3132000-01-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
314
315 * mi-cmds.c (mi_cmds): Update entries for
316 mi_cmd_data_list_register_names,
317 mi_cmd_data_list_changed_registers,
318 mi_cmd_data_list_register_values.
319
320 * mi-cmds.h (mi_cmd_data_list_register_names,
321 mi_cmd_data_list_changed_registers,
322 mi_cmd_data_list_register_values): Update to mi_cmd_argv_ftype.
323
324 * mi-main.c (mi_cmd_data_list_register_names,
325 mi_cmd_data_list_changed_registers,
326 mi_cmd_data_list_register_values): Update to use argc, argv
327 parameters.
328
3292000-01-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
330
331 * mi-main.c (mi_cmd_data_read_memory): Correct the computation of
332 next-row.
333
3342000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
335
336 * mi-cmd-var.c (mi_cmd_var_create): Test for NULL type.
337 (mi_cmd_var_set_format, mi_cmd_var_show_format,
338 mi_cmd_var_info_num_children, mi_cmd_var_list_children,
339 mi_cmd_var_info_type, mi_cmd_var_info_expression,
340 mi_cmd_var_show_attributes, mi_cmd_var_evaluate_expression,
341 mi_cmd_var_assign, mi_cmd_var_update): Prevent possibility of memory
342 leak on error.
343
3442000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
345
346 * mi-out.c (mi_field_string): Test for NULL string pointer.
347
3482000-01-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
349
350 * mi-cmd-stack.c (mi_cmd_stack_list_frames): Call
351 print_frmae_info() with the correct arguments.
352
353 * mi-main.c (mi_cmd_exec_return): Call
354 show_and_print_stack_frame() with LOC_AND_ADDRESS, so it does the
355 right thing. Update Copyright.
356
3572000-01-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
358
359 * mi-main.c: Move disassemble commands from here.
360
361 * mi-cmd-disas.c: To here. New file.
362
3632000-01-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
364
365 * mi-cmd-stack.c: Remove include of mi-out.h.
366
367 * mi-main.c (mi_cmd_disassemble): Update function to use argc/argv
368 interface.
369
370 * mi-cmds.h: Ditto.
371
372 * mi-cmds.c: Ditto.
373
3742000-01-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
375
376 * gdbmi.texinfo: Update stack commands descriptions.
377 Add thread commands descriptions and examples.
378
379 * mi-main.c (mi_cmd_thread_list_ids): Fix typo.
380
3812000-01-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
382
383 * mi-main.c (mi_cmd_thread_list_ids): New function, print a list
384 of currently known threads ids, and the total number of threads.
385 (mi_cmd_thread_select): New function. Switch current thread.
386
387 * mi-cmds.c (mi_cmds): Implement thread-list-ids by
388 mi_cmd_thread_list_ids, and thread-select by mi_cmd_thread_select.
389
390 * mi-cmds.h (mi_cmd_thread_select, mi_cmd_thread_list_ids): Export.
391
3922000-01-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
393
394 * mi-main.c: Move stack commands from here.
395
396 * mi-cmd-stack.c: To here. New file.
397
3982000-01-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
399
400 * mi-main.c (list_args_or_locals): Add a new paramter, the frame
401 for which to display args or locals. Don't use selected_frame
402 anymore, use the new parameter instead. Return void instead of
403 mi_cmd_result, let callers do so.
404 (mi_cmd_stack_list_args): Change interface. Now accept low and
405 high frame numbers to display args for a range of frames. Without
406 these two, display args for the whole stack.
407 (mi_cmd_stack_list_locals): Adapt to new interface for
408 list_args_or_locals.
409
4102000-01-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
411
412 * mi-main.c (mi_cmd_stack_info_depth, mi_cmd_stack_list_args,
413 mi_cmd_stack_list_frames, mi_cmd_stack_list_locals,
414 mi_cmd_stack_select_frame): Change to use argv type of parameters.
415
416 * mi-cmds.c (mi_cmds): Change stack-info-depth,
417 stack-list-arguments, stack-list-frames, stack-list-locals,
418 stack-select-frame to use argv parameters.
419
420 * mi-cmds.h (mi_cmd_stack_info_depth, mi_cmd_stack_list_args,
421 mi_cmd_stack_list_frames, mi_cmd_stack_list_locals,
422 mi_cmd_stack_select_frame): Update definitions.
423
424Tue Jan 4 12:38:54 2000 Andrew Cagney <cagney@b1.cygnus.com>
425
426 * mi-main.c (mi_command_loop): Force the MI interface to use seven
427 bit strings.
428 * gdbmi.texinfo: Make it clear that a quoted C string is seven
429 bit.
430
431Thu Dec 30 14:15:22 1999 Andrew Cagney <cagney@b1.cygnus.com>
432
433 * mi-getopt.c (mi_getopt): Rewrite. Allow long options.
434 * mi-getopt.h (struct mi_opt): Declare.
435 (mi_getopt): Update.
436
437 * mi-main.c (mi_cmd_data_read_memory), mi-cmd-break.c
438 (mi_cmd_break_insert, mi_cmd_break_watch): Update.
439
440Wed Dec 29 23:38:35 1999 Andrew Cagney <cagney@b1.cygnus.com>
441
442 * mi-cmd-break.c (mi_cmd_break_insert): Add support for -c
443 <condition>, -i <ignore-count> and -p <thread>.
444 (breakpoint_notify): New function.
445 (mi_cmd_break_insert): Wrap GDB call with callback hooks so that
446 MI is notified when ever a breakpoint is created.
447
448 * gdbmi.texinfo: Update.
449
450Fri Dec 24 11:23:22 1999 Andrew Cagney <cagney@b1.cygnus.com>
451
452 * mi-main.c (gdb_do_disassemble): Strip out more useless #ifdef
453 UI_OUTs.
454
4551999-12-23 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
456
457 * mi-main.c (gdb_do_disassemble): Fix output. Lines that have no
458 assembly instructions must still be outputted, to keep the source
459 line numbering correct.
460 Remove #ifdef UI_OUT's, they are useless.
461
4621999-12-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
463
464 * mi-main.c (gdb_do_disassemble): Don't print a new list in mixed
465 mode, every time. Just do it when we actually encounter a new
466 source line.
467
4681999-12-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
469
470 * mi-cmd-var.c (mi_cmd_var_list_children): Add test for C++ pseudo
471 variable objects (private, public, protected) as these do not have
472 a type and the -var-list-children operation was dumping core.
473
474Fri Dec 17 20:23:33 1999 Andrew Cagney <cagney@b1.cygnus.com>
475
476 * gdbmi.texinfo: Document recommended syntax for options.
477
478 * mi-main.c (mi_cmd_data_read_memory): Add support for ``-o
479 <offset>''.
480 * gdbmi.texinfo: Document.
481
482Wed Dec 15 17:43:08 1999 Andrew Cagney <cagney@b1.cygnus.com>
483
484 * mi-getopt.h (mi_getopt): Change optarg to a char pointer. Check
485 optind.
486 * mi-cmd-break.c (mi_cmd_break_insert): Update.
487
488 * mi-main.c (mi_cmd_data_read_memory): Add fields "next-row-addr",
489 "prev-row-addr", "next-page-addr", "prev-page-addr" and a per row
490 "addr".
491 * gdbmi.texinfo: Update.
492
493Wed Dec 15 01:05:40 1999 Andrew Cagney <cagney@b1.cygnus.com>
494
495 * mi-cmds.h (mi_cmd_result): Add MI_CMD_CAUGHT_ERROR for when the
496 error is caught.
497
498 * mi-main.c (captured_mi_execute_command): When
499 MI_CMD_CAUGHT_ERROR return 0 rethrowing the eror.
500
5011999-12-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
502
503 * mi-cmd-break.c (mi_cmd_break_insert): Remove unused var.
504
505 * mi-cmd-var.c (mi_cmd_var_update): Remove unused variables.
506
507Mon Dec 13 18:43:36 1999 Andrew Cagney <cagney@b1.cygnus.com>
508
509 * mi-parse.c (mi_parse): Quote the command when printing it.
510 (mi_parse_argv): Fix handling of quoted strings. Was not
511 de-quoting them.
512 (mi_parse_argv): Make static.
513
514Mon Dec 13 18:30:03 1999 Andrew Cagney <cagney@b1.cygnus.com>
515
516 * mi-cmds.h (mi_cmd_break_insert, mi_cmd_break_watch): Change type
517 to mi_cmd_argv_ftype.
518 * mi-cmds.c (mi_cmds): Update.
519 * mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Change
520 to new style of arguments with argc and argv. Parse arguments
521 using mi_getopt.
522
523 * mi-cmd-break.c (mi_cmd_break_insert): Wrap body in #ifdef UI_OUT
524 to avoid non-ui compile problems.
525
526Mon Dec 13 15:08:36 1999 Andrew Cagney <cagney@b1.cygnus.com>
527
528 * mi-getopt.h, mi-getopt.c: New files. Similar to getopt but with
529 well defined semantics.
530
531Mon Dec 13 14:22:21 1999 Andrew Cagney <cagney@b1.cygnus.com>
532
533 * mi-main.c (mi_cmd_break_insert, mi_cmd_break_watch, enum
534 wp_type, enum bp_type): Move from here.
535 * mi-cmd-break.c: To here. New file.
536 (mi_cmd_break_insert, mi_cmd_break_insert, mi_cmd_break_watch):
537 Use error to report problems.
538
5391999-12-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
540
541 * gdbmi.texinfo: Update description of exec-interrupt.
542
543 * mi-main.c (mi_cmd_exec_interrupt): If the program is not
544 executing, don't try to interrupt it, but error out instead. Make
545 sure previous_async_command is not null before duplicating it into
546 last_async_command.
547
548 * gdbmi.texinfo: Add examples for data-evaluate-expression.
549
5501999-12-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
551
552 * mi-cmd-var.c (mi_cmd_var_assign, mi_cmd_var_create,
553 mi_cmd_var_delete, mi_cmd_var_evaluate_expression,
554 mi_cmd_var_info_expression, mi_cmd_var_info_num_children,
555 mi_cmd_var_info_type, mi_cmd_var_list_children,
556 mi_cmd_var_set_format, mi_cmd_var_show_attributes,
557 mi_cmd_var_show_format, mi_cmd_var_update): Change to use new
558 style of arguments with argc and argv.
559 (next_arg): Delete.
560 (which_var): Delete.
561
562 * mi-cmds.c (mi_cmds): Update entries for mi_cmd_var_assign,
563 mi_cmd_var_create, mi_cmd_var_delete,
564 mi_cmd_var_evaluate_expression, mi_cmd_var_info_expression,
565 mi_cmd_var_info_num_children, mi_cmd_var_info_type,
566 mi_cmd_var_list_children, mi_cmd_var_set_format,
567 mi_cmd_var_show_attributes, mi_cmd_var_show_format,
568 mi_cmd_var_update.
569
570 * mi-cmds.h (mi_cmd_var_assign, mi_cmd_var_create,
571 mi_cmd_var_delete, mi_cmd_var_evaluate_expression,
572 mi_cmd_var_info_expression, mi_cmd_var_info_num_children,
573 mi_cmd_var_info_type, mi_cmd_var_list_children,
574 mi_cmd_var_set_format, mi_cmd_var_show_attributes,
575 mi_cmd_var_show_format, mi_cmd_var_update): Update declarations.
576
5771999-12-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
578
579 * gdbmi.texinfo: Comment out -data-assign command. * mi-main.c
580 (mi_cmd_data_assign): Do not use, comment out. * mi-cmds.h
581 (mi_cmd_data_assign): Remove. * mi-cmds.c: Remove -data-assign
582 command from MI interface.
583
5841999-12-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
585
586 * mi-parse.c (mi_parse): Add '\n' at end of error messages, so
587 that prompt comes out on new line.
588
589 * gdbmi.texinfo: Update disassembly command output.
590
5911999-12-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
592
593 * mi-main.c (gdb_do_disassemble): Update output for UI_OUT case.
594
5951999-12-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
596
597 * gdbmi.texinfo: Update exec-until output, including the reason
598 for stopping.
599
600Thu Dec 2 17:17:22 1999 Andrew Cagney <cagney@b1.cygnus.com>
601
602 * mi-cmds.c: Include <string.h> for memset.
603
6041999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
605
606 * mi-main.c (mi_cmd_exec_return): ifdef the references to
607 return_command_wrapper().
608
6091999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
610
611 * mi-main.c (mi_cmd_gdb_exit, mi_cmd_exec_interrupt,
612 mi_cmd_target_select, mi_execute_async_cli_command,
613 mi_exec_async_cli_cmd_continuation, mi_load_progress): Don't print
614 last_async_command if it is NULL.
615 (mi_cmd_exec_return):
616
6171999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
618
619 * mi-main.c (mi_cmd_exec_return): Reimplement using
620 return_command() instead of mi_execute_async_cli_command().
621
6221999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
623
624 * mi-cmds.h: Export mi_cmd_data_assign and
625 mi_cmd_data_evaluate_expression.
626
627 * mi-cmds.c (mi_cmds): Hook data-assign to mi_cmd_data_assign and
628 data-evaluate-expression to mi_cmd_data_evaluate_expression.
629
630 * mi-main.c (mi_cmd_data_assign): New function. Implement
631 data-assign command.
632 (mi_cmd_data_evaluate_expression): New function. Implement
633 data-evaluate-expression command.
634
6351999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
636
637 * gdbmi.texinfo: Fix some texinfo formatting errors.
638
6391999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
640
641 * gdbmi.texinfo: Update data-list-register-values description.
642
643 * mi-cmds.h: Export mi_cmd_data_list_register_values.
644
645 * mi-cmds.c (mi_cmds): Hook data-list-register-values to
646 mi_cmd_data_list_register_values.
647
648 * mi-main.c (mi_cmd_data_list_register_values): New
649 function. Implements the -data-list-register-values command.
650 (get_register): New function. Output the contents of a given
651 register.
652
653Wed Dec 1 20:27:22 1999 Andrew Cagney <cagney@b1.cygnus.com>
654
655 * mi-main.c (mi_execute_async_cli_command): Append missing "\n"
656 for synchronous stopped message.
657
6581999-11-30 James Ingham <jingham@leda.cygnus.com>
659
660 * gdbmi.texinfo: Fix obvious typo in @end statement.
661
662Wed Dec 1 12:36:27 1999 Andrew Cagney <cagney@b1.cygnus.com>
663
664 * mi-cmd-var.c: Include "value.h".
665 * mi-console.c: Include <string.h>.
666
667Wed Dec 1 00:21:03 1999 Andrew Cagney <cagney@b1.cygnus.com>
668
669 * mi-main.c (captured_mi_execute_command): For a CLI command, pass
670 "%s" to mi_execute_cli_command to stop core dumps.
671 (captured_mi_execute_command): Echo CLI commands on gdb_stdlog.
672
673Wed Dec 1 00:10:07 1999 Andrew Cagney <cagney@b1.cygnus.com>
674
675 * gdbmi.texinfo: Explain NR-BYTES and ADDR.
676
677Tue Nov 30 23:31:57 1999 Andrew Cagney <cagney@b1.cygnus.com>
678
679 * mi-cmd-var.c (mi_cmd_var_create, mi_cmd_var_delete,
680 mi_cmd_var_set_format, mi_cmd_var_show_format,
681 mi_cmd_var_info_num_children, mi_cmd_var_list_children,
682 mi_cmd_var_info_type, mi_cmd_var_info_expression,
683 mi_cmd_var_show_attributes, mi_cmd_var_evaluate_expression,
684 mi_cmd_var_assign, mi_cmd_var_update, varobj_update_one, next_arg,
685 which_var): New file. Move varobj commands to here from
686 mi-main.c.
687
688 * mi-console.h, mi-console.c (mi_console_file_new,
689 mi_console_file_delete, mi_console_file_fputs,
690 mi_console_raw_packet, mi_console_file_flush): New files. Move
691 mi_console_file to here from mi-main.c.
692
693Tue Nov 30 19:37:25 1999 Andrew Cagney <cagney@b1.cygnus.com>
694
695 * mi-main.c (captured_mi_execute_command): Use fputstr_unfiltered
696 when printing error messages.
697 (mi_cmd_execute): Ditto.
698
6991999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
700
701 * gdbmi.texinfo: Describe -data-list-changed-registers,
702 -data-list-register-names. Add examples for
703 -exec-next-instruction, exec-step-instruction, -exec-run,
704 -exec-until. Format examples for -data-read-memory.
705 update example for -target-download.
706
7071999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
708
709 * gdbmi.texinfo: Remove mentioning of inaccurate watchpoint hit
710 count.
711
712Mon Nov 29 19:28:55 1999 Andrew Cagney <cagney@b1.cygnus.com>
713
714 * mi-main.c (mi_execute_async_cli_command): Return ``enum
715 mi_cmd_cmd_result''. mi_cmd_exec_run, mi_cmd_exec_next,
716 mi_cmd_exec_step, mi_cmd_exec_step_instruction,
717 mi_cmd_exec_finish, mi_cmd_exec_until, mi_cmd_exec_return,
718 mi_cmd_exec_continue): Update call.
719 (mi_execute_async_cli_command): When target is synchronous, fake
720 asynchronous behavour (ulgh). Allows tests to be run on built-in
721 simulator and native targets.
722
723Mon Nov 29 15:15:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
724
725 * mi-cmds.h (mi_cmd_gdb_exit), mi-cmds.c (mi_cmds), mi-main.c
726 (mi_cmd_gdb_exit): Change function signature to mi_cmd_argv_ftype.
727
7281999-11-28 Andew Cagney <cagney@rat-in-a-hat.cygnus.com>
729
730 * mi-parse.c: Include <ctype.h> and <string.h>
731
7321999-11-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
733
734 * gdbmi.texinfo: Added watchpoint command descriptions and
735 examples.
736
737 * mi-main.c (mi_load_progress): Add parameter for total sent so far.
738 Print it as well.
739
740Fri Nov 26 10:17:49 1999 Andrew Cagney <cagney@b1.cygnus.com>
741
742 * gdbmi.texinfo (section Output Syntax): For lists, the <string>
743 part of a <result> is optional. Clarify syntax.
744 (appendix Proposed v2.0 Output Syntax): New section. Provide
745 record of discussion of possible changes to syntax.
746
747Wed Nov 24 19:41:35 1999 Andrew Cagney <cagney@b1.cygnus.com>
748
749 * mi-main.c (mi_cmd_data_read_memory): Simplify. Fix coredump
750 when arguments were bad.
751 (mi_cmd_execute): Change parameter to ``struct mi_parse''. Handle
752 case of argv_func as well as args_func.
753 (captured_mi_execute_command): Update.
754
755 * mi-cmds.c (struct mi_cmd): Add field for mi_cmd_argv_ftype.
756 (mi_cmds): Update mi_cmd_data_read_memory.
757 (mi_lookup): Return
758
759 * mi-cmds.h (mi_cmd_args_ftype): Rename mi_cmd_ftype. Make all
760 functions of type this type.
761 (mi_cmd_argv_ftype): Declare.
762 (mi_cmd_data_read_memory): Change type to mi_cmd_argv_fytpe.
763 (struct mi_cmd): Move declaration to here from mi-cmds.c.
764 (mi_lookup): Return a pointer to ``struct mi_cmd''.
765
766Wed Nov 24 15:03:34 1999 Andrew Cagney <cagney@b1.cygnus.com>
767
768 * mi-parse.c (mi_parse): Initialize TOKEN when a CLI command.
769
770 * gdbmi.texinfo: Allow a <token> before a CLI command.
771
772 * mi-parse.h (struct mi_parse): Declare.
773 (mi_parse): Change to return a ``struct mi_parse''.
774 (enum mi_command_type): Delete PARSE_ERROR.
775
776 * mi-main.c (struct mi_execute_command_context): Delete.
777 (captured_mi_execute_command): Update
778 (mi_execute_command): Update. Check for mi_parse returning NULL.
779
780Wed Nov 24 12:57:14 1999 Andrew Cagney <cagney@b1.cygnus.com>
781
782 * mi-parse.h: Remove const, from cmd parameter. Causes cascading
783 warnings.
784
785Wed Nov 24 15:03:34 1999 Andrew Cagney <cagney@b1.cygnus.com>
786
787 * mi-parse.c (mi_parse): New function. Move parse code to here.
788 * mi-main.c (parse): From here. Delete.
789
790Wed Nov 24 12:57:14 1999 Andrew Cagney <cagney@b1.cygnus.com>
791
792 * mi-parse.c, mi-parse.h: New files. Implement mi_parse_env.
793
794Wed Nov 24 11:24:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
795
796 * mi-out.c (mi_field_string): Make string parameter constant.
797
7981999-11-23 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
799
800 * mi-cmds.h (mi_cmd_target_download): Export.
801
802 * mi-cmds.c (mi_cmds): Add mi_cmd_target_download.
803
804 * mi-main.c: Include <sys/time.h>.
805 (mi_cmd_target_download): New function, implement the
806 target-download command.
807 (mi_load_progress): New function. Called via the
808 show_load_progress hook. Prints updates every 0.5 secs.
809 (mi_command_loop): Initialize the show_load_progress hook.
810
8111999-11-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
812
813 * mi-main.c (mi_cmd_exec_until): New function. Implement until
814 command.
815 (mi_cmd_exec_step_instruction): New function. Implement stepi
816 command.
817 (mi_cmd_exec_next_instruction): New function. Implement nexti
818 command.
819
820 * mi-cmds.c (mi_cmds): Add mi_cmd_exec_step_instruction,
821 mi_cmd_exec_next_instruction, mi_cmd_exec_until.
822
823 * mi-cmds.h (mi_cmd_exec_step_instruction,
824 mi_cmd_exec_next_instruction, mi_cmd_exec_until): Export.
825
826Tue Nov 23 00:30:37 1999 Andrew Cagney <cagney@b1.cygnus.com>
827
828 * mi/gdbmi.texinfo: Document -data-read-memory.
829
830 * mi-main.c (mi_cmd_data_read_memory): Fix off-by-one check of
831 argc.
832 (mi_cmd_data_read_memory): Label the output table with "memory".
833
834Thu Nov 18 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
835
836 * mi-main.c (mi_cmd_exec_interrupt, mi_cmd_break_insert,
837 mi_cmd_break_watch, mi_cmd_disassemble, mi_cmd_execute): Replace
838 strdup with xstrdup.
839
840Thu Nov 18 20:50:09 1999 Andrew Cagney <cagney@b1.cygnus.com>
841
842 * mi-main.c (mi_cmd_data_read_memory): New function. Implement
843 data-read-memory.
844
845 * mi-cmds.h, mi-cmds.c: Add mi_cmd_data_read_memory.
846 * mi-cmds.c (mi_cmds): Ditto.
847
8481999-11-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
849
850 * mi-cmds.h (mi_cmd_break_watch): Export.
851
852 * mi-cmds.c (mi_cmds): Hook up break-watch to function
853 mi_cmd_break_watch.
854
855 * mi-main.c (wp_type): New enumeration for the possible types of
856 watchpoints.
857 (mi_cmd_break_watch): New function, implements the break-watch
858 command.
859
8601999-11-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
861
862 * mi-main.c (mi_cmd_break_insert): Handle case in which the command is
863 just a -break-insert w/o args.
864
865Fri Nov 12 00:01:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
866
867 * mi-out.c (mi_field_string): Always quote the string.
868
8691999-11-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
870
871 * mi-cmds.h(mi_cmd_data_list_changed_registers,
872 mi_cmd_data_list_register_names): Export.
873
874 * mi-cmds.c (mi_cmds): Hook up data-list-changed-registers to
875 mi_cmd_data_list_changed_registers and data-list-register-names to
876 mi_cmd_data_list_register_names.
877
878 * mi-main.c (mi_cmd_data_list_changed_registers): New function,
879 implements the data-list-changed-registers command.
880 (mi_cmd_data_list_register_names): New function, implements the
881 data-list-register-names command.
882 (register_changed_p): New function. Decide whether the register
883 contents have changed.
884 (setup_architecture_data): New function. Initialize registers
885 memory.
886 (_initialize_mi_main): Call setup_architecture_data(), and
887 register_gdbarch_swap().
888
889Wed Nov 10 18:35:08 1999 Andrew Cagney <cagney@b1.cygnus.com>
890
891 * mi-main.c (mi_execute_command): Correctly quote error messages.
892
893Wed Nov 10 11:05:14 1999 Andrew Cagney <cagney@b1.cygnus.com>
894
895 * mi/gdbmi.texinfo: Delete <stream-output>. Replaced by
896 <c-string>.
897
898 * mi-main.c (mi_console_raw_packet): Always quote console output.
899
900Tue Nov 9 17:53:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
901
902 * mi-main.c (mi_console_file_new), mi-out.c (mi_out_new): Replace
903 the tui_file with a mem_file. Ya!
904
905 * mi-out.c (do_write): New function, wrapper to gdb_file_write.
906 (mi_out_put): Pass do_write to gdb_file_put.
907
908 * mi-main.c (mi_console_file_flush): Rewrite. Use
909 mi_console_raw_packet to send data to the console.
910 (mi_console_raw_packet): New function. Correctly
911 create quoted C string packets.
912
9131999-11-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
914
915 * mi-cmds.c (mi_cmds): Break-insert is now implemented by
916 mi_cmd_break_insert.
917 * mi-cmds.h (mi_cmd_break_insert): Export.
918 * mi-main.c (bp_type): New enumeration.
919 (mi_cmd_break_insert): New function. Implements all flavors of
920 breakpoint insertion.
921
922Mon Nov 8 17:49:17 1999 Andrew Cagney <cagney@b1.cygnus.com>
923
924 * mi-main.c (mi_console_file_flush): Replace gdb_file_get_strbuf
925 with tui_file_get_strbuf.
926
927Fri Nov 5 17:06:07 1999 Andrew Cagney <cagney@b1.cygnus.com>
928
929 * mi-main.c (mi_console_file_delete, mi_console_file_fputs,
930 mi_console_file_flush): Call internal_error instead of error.
931
932Thu Nov 4 19:53:32 1999 Andrew Cagney <cagney@b1.cygnus.com>
933
934 * mi-main.c (captured_mi_execute_command): New function.
935 (mi_execute_command): Rewrite. Replace SET_TOP_LEVEL() with call
936 to captured_mi_execute_command via catch_errors.
937
938Thu Nov 4 20:33:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
939
940 * mi-main.c (clean): Delete.
941 (mi_command_loop): Delete extern declaration of
942 mi_execute_command.
943
9441999-10-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
945
946 * mi-main.c (mi_cmd_stack_select_frame): Conditionalize the body
947 on UI_OUT, because select_frame_command_wrapper is only defined if
948 UI_OUT is.
949 (mi_cmd_exec_interrupt): Conditionalize the body on UI_OUT,
950 because interrupt_target_command_wrapper is only defined if UI_OUT is.
951
952 * mi-cmds.c (mi_cmds): Implement command exec-interrupt by
953 mi_cmd_exec_interrupt.
954
955 * mi-main.c (mi_cmd_exec_interrupt): New function. Implements
956 exec-interrupt command.
957 (mi_cmd_execute): If the target is running save execution command
958 token in previous_async_command. If the command is not 'interrupt'
959 and the target is running, reject it.
960 (clean): New function. Free the arg and reset it to NULL.
961
962 * mi-cmds.h (mi_cmd_exec_interrupt):Export.
963
9641999-10-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
965
966 * mi-cmds.c (mi_cmds): Implement command stack-select-frame by
967 mi_cmd_stack_select_frame.
968
969 * mi-main.c (mi_cmd_stack_select_frame): New function. Implements
970 stack-select-frame command.
971
972 * mi-cmds.h (mi_cmd_select_frame):Export.
973
9741999-10-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
975
976 * mi-cmds.c (mi_cmds): Implement commands stack-list-locals and
977 stack-list-arguments by mi_cmd_stack_list_locals and
978 mi_cmd_stack_list_args.
979
980 * mi-main.c (mi_cmd_stack_list_locals): New function. Implements
981 stack-list-locals command.
982 (mi_cmd_stack_list_args): New function. Implements
983 stack-list-arguments command.
984 (list_args_or_locals): New function. Do all the work for the
985 listing of locals or arguments.
986
987 * mi-cmds.h (mi_cmd_stack_list_args,mi_cmd_stack_list_locals) :
988 Export.
989
9901999-10-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
991
992 * mi-cmds.c (mi_cmds): Add new command stack-info-depth.
993
994 * mi-main.c (mi_cmd_stack_info_depth): New function. Implements
995 the stack-info-depth command.
996 * mi-cmds.h (mi_cmd_stack_info_depth): Export.
997
998
9991999-10-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1000
1001 * mi-main.c (mi_execute_command): Handle MI_CMD_ERROR case
1002 properly, for command that return error code and don't set
1003 mi_error_message.
1004
1005 * mi-cmds.c (mi_cmds): Hook stack-list-frames command to
1006 mi_cmd_stack_list_frames function.
1007 * mi-cmds.h (mi_cmd_stack_list_frames): Export.
1008
1009 * mi-main.c (mi_execute_command): Deal with a return code of
1010 MI_CMD_ERROR from the execution of mi commands.
1011 (mi_error_message): Static string variable, to contain the error
1012 message from mi commands.
1013 (mi_cmd_stack_list_frames): New function. Prints a backtrace.
1014
10151999-10-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1016
1017 * mi-main.c (mi_cmd_disassemble): Handle the new command line
1018 parameter that specifies the number of disassembly lines to be
1019 displayed.
1020 (gdb_do_disassemble): Add new parameter. Count the number of lines
1021 that have been displayed, and stop when limit is reached.
1022
1023Wed Oct 13 18:04:13 1999 Andrew Cagney <cagney@b1.cygnus.com>
1024
1025 * mi-main.c (mi_command_loop): Don't initialize ``flush_hook''.
1026
10271999-10-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1028
1029 * mi/gdbmi.texinfo: More reformatting of the grammars.
1030
10311999-10-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1032
1033 * mi/gdbmi.texinfo: More TeX formatting.
1034
10351999-10-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1036
1037 * mi/gdbmi.texinfo: First pass completed. All commands should have
1038 some comments/info.
1039 Escape '@' output special char.
1040 Reformat for TeX.
1041
10421999-10-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1043
1044 * mi/gdbmi.texinfo: Filled in part of file command section, and
1045 stack section.
1046
10471999-10-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1048
1049 * mi/gdbmi.texinfo: Filled in some sections about execution
1050 commands.
1051
1052Tue Oct 5 15:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
1053
1054 * mi-cmds.h: Sort table
1055 * mi-cmds.c: Ditto.
1056 (MI_TABLE_SIZE): Increase to 251.
1057
10581999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
1059
1060 * mi-main.c (mi_cmd_var_create, mi_cmd_var_delete): Add missing
1061 cleanups.
1062
10631999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
1064
1065 * mi-main.c (next_arg): Returns lenght as well.
1066 (which_var, mi_cmd_var_create, mi_cmd_var_delete,
1067 mi_cmd_var_set_format, mi_cmd_var_update): Do not modify the input
1068 string, use allocated storage instead.
1069 (mi_cmd_var_assign): Adjust call to next_arg() to include new
1070 argument.
1071
10721999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
1073
1074 * mi-main.c (mi_execute_command): Fix handling of errors.
1075
10761999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
1077
1078 * mi-out.c (mi_out_new): Call tui_sfileopen() instead of
1079 deprecated gdb_file_init_astream().
1080 * mi-main.c (mi_console_file_new): Ditto.
1081
1082Mon Oct 4 15:17:29 1999 Andrew Cagney <cagney@b1.cygnus.com>
1083
1084 * mi-cmds.h: Sort function declarations.
1085 (mi_lookup): Add extern.
1086
1087 * mi-cmds.c (mi_lookup): Delete dead code.
1088 (build_table): Call internal_error instead of error.
1089 (build_table): Send trace output to gdb_stdlog.
1090
10911999-10-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1092
1093 * mi-main.c (mi_execute_async_cli_command): Don't do the cleanups
1094 if target_executing is null.
1095
10961999-09-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1097
1098 * mi-main.c (async_p): Change var name to event_loop_p.
1099
1100Mon Sep 27 15:11:00 1999 Andrew Cagney <cagney@b1.cygnus.com>
1101
1102 * mi-main.c (mi_execute_async_cli_command, mi_execute_command):
1103 Replace target_has_async with function target_can_async_p.
1104
1105Sun Sep 26 00:12:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
1106
1107 * mi-main.c (mi_cmd_target_select_continuation): Delete function.
1108 (mi_cmd_target_select): Simplify. target-connect is guarenteed to
1109 be synchronous.
1110
1111Sun Sep 26 00:12:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
1112
1113 * mi-cmds.h (mi_cmd_ftype): Replace mi_impl_ftype.
1114 (enum mi_cmd_result): Define.
1115 * mi-cmds.c (struct mi_cmd): Update.
1116 (mi_lookup): Update.
1117 * mi-main.c (mi_cmd_execute): Update.
1118
1119 * mi-main.c (mi_cmd_gdb_exit, mi_cmd_exec_run, mi_cmd_exec_next,
1120 mi_cmd_exec_step, mi_cmd_target_select, mi_cmd_exec_continue,
1121 mi_cmd_exec_return, mi_cmd_exec_finish, mi_cmd_disassemble,
1122 mi_cmd_var_create, mi_cmd_var_delete, mi_cmd_var_set_format,
1123 mi_cmd_var_show_format, mi_cmd_var_info_num_children,
1124 mi_cmd_var_list_children, mi_cmd_var_info_type,
1125 mi_cmd_var_info_expression, mi_cmd_var_show_attributes,
1126 mi_cmd_var_evaluate_expression, mi_cmd_var_update): Update.
1127 Return MI_CMD_DONE.
1128
11291999-09-22 Fernando Nasser <fnasser@totem.to.cygnus.com>
1130
1131 * mi-main.c (mi_cmd_var_create): Use paddr() to format address
1132 on trace output.
1133
11341999-09-21 Fernando Nasser <fnasser@totem.to.cygnus.com>
1135
1136 * mi-main.c (mi_cmd_var_create): Test for varobjdebug before
1137 printing trace and send it to gdb_stdlog.
1138
1139Mon Sep 20 13:41:04 1999 Andrew Cagney <cagney@b1.cygnus.com>
1140
1141 * Makefile.in (mi-out.o): Add dependency list.
1142 * mi-out.c: Include "mi-out.h".
1143
11441999-09-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1145
1146 * mi-main.c (_initialize_mi_main): Events on stadin are now
1147 handled by stdin_event_handler.
1148
11491999-09-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
1150
1151 * mi-cmds.c (mi_cmds): Add var-* commands.
1152
11531999-09-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
1154
1155 * mi-main.c (mi_cmd_var_create, mi_cmd_var_delete,
1156 mi_cmd_var_set_format, mi_cmd_var_show_format,
1157 mi_cmd_var_info_num_children, mi_cmd_var_list_children,
1158 mi_cmd_var_info_type, mi_cmd_var_info_expression,
1159 mi_cmd_var_show_attributes, mi_cmd_var_evaluate_expression,
1160 mi_cmd_var_assign, mi_cmd_var_update, varobj_update_one,
1161 which_var, next_arg): New functions. Implement the -var-*
1162 commands.
1163 * mi-cmds.h: Add prototypes for the above.
1164
11651999-09-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
1166
1167 * mi-cmds.c (mi_cmds): Add detach command.
1168
11691999-09-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
1170
1171 * mi-cmds.c (lookup_table): Fix typo.
1172
11731999-09-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
1174
1175 * mi-cmds.c (mi_cmds): Fix typo and missing command.
1176
11771999-09-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
1178
1179 * mi-main.c: Properly align function prototypes.
1180 (mi_cmd_target_select): Proper check for NULL value.
1181
11821999-09-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
1183
1184 * mi-main.c (mi_execute_async_cli_command): Fix for native targets
1185 that do not have async yet.
1186
11871999-09-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1188
1189 * mi-main.c (mi_cmd_disassemble): Remove unused var.
1190 (gdb_do_disassemble): Ditto.
1191
11921999-08-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1193
1194 * mi-main.c: Replace all the occurrences of 'asynch' in variable
1195 or function names with 'async' to make it consistent with the rest
1196 of gdb.
1197
1198Mon Aug 30 18:16:39 1999 Andrew Cagney <cagney@b1.cygnus.com>
1199
1200 * mi-main.c: #include <ctype.h> for isspace().
1201
12021999-08-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1203
1204 * mi-main.c (gdb_do_disassemble): This function returns void, not
1205 int.
1206
12071999-08-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1208
1209 * mi-main.c (mi_cmd_disassemble): Don't use atoi() on the high
1210 address string, just treat it same as address low.
1211 (gdb_do_disassemble): Parse high_address string before seeing if
1212 it is zero.
1213
12141999-08-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1215
1216 * mi-main.c (mi_cmd_disassemble): New function to produce
1217 disassembly output for mi.
1218 (gdb_dis_asm_read_memory): New function. Read the disassembly from
1219 the executable file, instead of target memory.
1220 (compare_lines): New function. Compare order of disassembly lines.
1221 (gdb_do_disassemble): New function. Do the real job of getting the
1222 assembly code out.
1223
1224 * mi-cmds.c (mi_cmds): Do data-disassemble mi command via the
1225 mi_cmd_disassemble function.
1226
1227 * mi-cmds.h: Export new function mi_cmd_disassemble.
1228
1229Wed Aug 25 15:58:31 1999 Andrew Cagney <cagney@b1.cygnus.com>
1230
1231 * mi-main.c (mi_command_loop): Remove references to ui-hooks.
1232
12331999-08-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1234
1235 * mi-main.c (mi_execute_asynch_cli_command): Fix the incorrect
1236 usage of strcat(): allocate enough space for the string.
1237
12381999-08-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1239
1240 From Christopher Faylor <cgf@cygnus.com>
1241 * mi-main.c (mi_execute_command): Make sure we flush all the
1242 output after each command.
1243
12441999-08-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1245
1246 * mi-main.c (_initialize_mi_main): Remove casting in call to
1247 add_file_handler.
1248
1249Sun Aug 8 17:20:57 1999 Andrew Cagney <cagney@b1.cygnus.com>
1250
1251 * mi-main.c (mi_cmd_target_select, mi_execute_asynch_cli_command):
1252 Replace call to fatal with call to internal_error.
1253
12541999-07-26 Fernando Nasser <fnasser@totem.to.cygnus.com>
1255
1256 * mi-main.c (mi_cmd_execute): Add return code.
1257 (mi_execute_command): Make appropriate changes when calling the
1258 function mentioned above.
1259 (mi_cmd_gdb_exit, mi_cmd_target_select,
1260 mi_cmd_target_select_continuation, mi_execute_command,
1261 mi_exec_asynch_cli_cmd, mi_exec_asynch_cli_cmd_continuation):
1262 Print token, prefix, class and output (if any) in one single group
1263 of statements.
1264 (mi_execute_command, mi_cmd_execute): Fix error prefix.
1265 (mi_cmd_execute): Use exec cleanup for token.
1266 * mi-out.c (mi_out_rewind): New function.
1267 * mi-out.h: Prototype for the above.
1268
12691999-07-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
1270
1271 * mi-main.c (mi_cmd_gdb_exit): Use buffer for exit message.
1272 (mi_cmd_execute): Route error messages to correct file.
1273 (mi_execute_asynch_cli_command): Insert line feed after running
1274 message.
1275
12761999-07-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
1277
1278 * mi-out.h (mi_out_buffered): Add extern declaration.
1279 * mi-out.c (mi_out_buffered): New function. Insert a string at the
1280 current buffer position.
1281 * mi-main.c (mi_cmd_target_select, mi_execute_command,
1282 mi_cmd_execute, mi_execute_asynch_cli_command): Use the above
1283 function instead of printing to raw_stdout.
1284 (mi_cmd_target_select, mi_cmd_target_select_continuation,
1285 mi_execute_command, mi_cmd_execute, mi_execute_cli_command,
1286 mi_exec_asynch_cli_cmd_continuation): Fix handling of token and
1287 prefix.
1288 (mi_execute_cli_command): Remove parameter no longer needed.
1289
12901999-07-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1291
1292 * mi-main.c (mi_cmd_target_select_continuation): Print the numeric
1293 token when we are connected.
1294 (mi_execute_command): Don't print the token now, do it later.
1295 (mi_execute_cli_command): Add a new parameter for the numeric
1296 token. Print the token, the prefix and the class after the
1297 command has executed, not before.
1298 (mi_execute_asynch_cli_command): Don't print an extra blank line.
1299
13001999-07-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
1301
1302 * mi-main.c (mi_gdb_exit): Add \n at the end.
1303
13041999-07-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
1305
1306 * mi-main.c (mi_cmd_execute): New function. Dispatch a mi operation.
1307 (mi_execute_command): Use the above.
1308
13091999-07-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
1310
1311 * mi-main.c: Fix identation.
1312
13131999-07-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1314
1315 * mi-main.c: Include target.h and inferior.h.
1316 (mi_cmd_target_select): New function to execute the target-select
1317 mi operation.
1318 (mi_cmd_target_select_continuation): New function. Continuation
1319 for the target-select operation.
1320 (mi_execute_command): In case of an MI command which requires
1321 asynchronous execution, do not try to display the result now. If
1322 the execution has to look synchronous don't display the "(gdb)"
1323 prompt.
1324 (mi_execute_asynch_cli_command): Invoke real asynchronous
1325 commands, set up exec_cleanups, and continuations.
1326 (mi_exec_asynch_cli_cmd_continuation): New function. Continuation
1327 for all the MI execution commands except 'target-select'.
1328 (mi_execute_command): Handle null commands by exiting gdb, instead
1329 of core dumping.
1330
1331 * mi-cmds.c (mi_cmds): Hook up -target-select operation to new mi
1332 function.
1333
1334 * mi-cmds.h (mi_cmd_target_select): Add extern declaration.
1335
1336Thu Jul 15 10:31:39 1999 Andrew Cagney <cagney@b1.cygnus.com>
1337
1338 * mi-main.c (struct mi_console_file): Add field ``prefix''.
1339 (mi_console_file_new): Add argument prefix. Initialize prefix
1340 field.
1341 (mi_console_file_flush): Use ``prefix'' instead of "~" as the
1342 prefix string.
1343 (mi_command_loop): Update stream output prefixes. gdb_stdout ==
1344 "~", gdb_stderr / gdb_stdlog == "&", gdb_stdtarg == "@".
1345
13461999-07-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
1347
1348 * mi-main.c (ui_out_data): New field first_header. Fix output when
1349 no breakpoints are found.
1350 (mi_table_begin, mi_table_body, mi_table_header): Test for
1351 first_header.
1352 (mi_table_end): Test for supress_field_separator.
1353 (mi_message): Remove messages from MI output.
1354
13551999-06-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
1356
1357 * mi-cmds.c (mi_cmds[]): Delete gdb-cli operation.
1358 * mi-main.c (parse): Remove ifdefs for cli commands parsing.
1359 (mi-execute-command): Ditto.
1360
1361Mon Jun 28 13:06:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
1362
1363 * mi-out.h: New file.
1364 (mi_out_new, mi_out_put): Move mi specific delcarations to here.
1365 * ui-out.h: From here.
1366
1367 * mi-main.c: Include "mi-out.h".
1368
13691999-06-25 Fernando Nasser <fnasser@totem.to.cygnus.com>
1370
1371 * top.c (print_gdb_version): Add the word HEADLESS when output
1372 follows headless format.
1373 (print_command_lines): Fix typo.
1374
13751999-06-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1376
1377 * event-loop.h: Export input_fd.
1378 * mi-main.c (mi_command_loop): Use the event loop if running
1379 asynchronously.
1380 (mi_execute_command_wrapper): New function.
1381 (_initialize_mi-main): Set things up for running asynchronously.
1382
13831999-06-18 Fernando Nasser <fnasser@totem.to.cygnus.com>
1384
1385 * mi-cmds.c (mi_lookup): Deleted.
1386 (lookup_table): New function. Replaces old mi_lookup() for local
1387 use.
1388 (mi_lookup): New function. External interface for command table
1389 searchs.
1390 (build_table): New definition.
1391 (mi_cmds[]): Add several command implementations and the gdb-cli
1392 special operation.
1393 (mi_cmd_execute): Deleted.
1394 * mi-cmds.h: Add type definition for command implementation
1395 function pointers, add declaration for new implementation
1396 functions and a declaration for mi_lookup().
1397 * mi-main.c (mi_execute_asynch_cli_command): New
1398 function. Captures code that was repeated for all asynch
1399 operations.
1400 (mi_cmd_exec_*): Use the above new function.
1401 (mi_gdb_cmd_exit): Fix the output, printing something appropriate.
1402 (mi_cmd_exec_finish): New operation implementation function.
1403 (mi_cmd_exec_return): Ditto.
1404 (parse): Prepare to remove cli commands.
1405 (mi_execute_command): Fix the output and change the way mi-cmds is
1406 used.
1407
14081999-06-18 Fernando Nasser <fnasser@totem.to.cygnus.com>
1409
1410 * mi-out.c (mi_table_begin): Add missing field separator call.
1411
1412Thu Jun 17 21:05:40 1999 Fernando Nasser <fnasser@tofu.to.cygnus.com>
1413
1414 * breakpoint.c (breakpoint_1): Remove space in breakpoint table
1415 id.
1416 (mention): Use ui_out for last new line (forgotten).
1417
14181999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
1419
1420 * mi-main.c (mi_console_file_flush): Prevent prefix printing when
1421 buffer empty; change prefix to '~'.
1422 (mi_cmd_exec_*): Prefix normal output with '^' instead of
1423 ','; remove unwanted new lines before "stopped".
1424
14251999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
1426
1427 * mi-cmds.c (struct mi_cmds): Updated entries for -exec-continue
1428 and exec-next operations.
1429 (mi_cmd_execute): New text for error messages.
1430 * mi-cmds.h: Add declaration for mi_cmd_exec_next and
1431 mi_cmd_exec_continue.
1432 * mi-main.c (mi_cmd_exec_next): New function. Implements exec-next
1433 operation.
1434 (mi_cmd_exec_continue): New function. Implements exec-continue
1435 operation.
1436 (mi_execute_comand): Add missing space to prompt.
1437 (mi_cmd_exec_run): Ditto.
1438 (mi_cmd_exec_step): Ditto.
1439 * mi-out.c (mi_out_new): Add flags argument to ui_out_new call.
1440 (ui_list_end): Reset supress_field_separator flag.
1441
1442Sat Jun 12 11:49:10 1999 Andrew Cagney <cagney@b1.cygnus.com>
1443
1444 * mi-cmds.h. mi-cmds.c (exec step): Command implemented by
1445 mi_cmd_exec_step instead of cli call.
1446 * mi-main.c (mi_cmd_exec_step): New function.
1447
1448 * mi-cmds.h. mi-cmds.c (exec run): Command implemented by
1449 mi_cmd_exec_run instead of cli call.
1450 * mi-main.c (mi_cmd_exec_run): New function.
1451
1452 * mi-cmds.h. mi-cmds.c (gdb exit): Command implemented by
1453 mi_cmd_gdb_exit instead of quit_force.
1454 * mi-main.c (mi_cmd_gdb_exit): New function.
1455
1456Sat Jun 12 11:33:23 1999 Andrew Cagney <cagney@b1.cygnus.com>
1457
1458 * mi-main.c (mi_command_loop): Pass mi_input to
1459 simplified_command_loop.
1460 (mi_input): New function. Calls gdb_readline with no prompt.
1461
1462Sat Jun 12 11:19:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
1463
1464 * mi-main.c (mi_console_file_fputs): Re-implement. Use a buffer
1465 to accumulate output.
1466
1467 * mi-main.c (struct mi_console_file): Add a buffer.
1468 (mi_console_file_new): Create a buffer.
1469 (mi_console_file_flush): New function.
1470
1471Sat Jun 12 10:59:39 1999 Andrew Cagney <cagney@b1.cygnus.com>
1472
1473 * mi-cmds.h (raw_stdout): Declare. Will be moved later.
1474 * mi-cmds.c (mi_cmd_execute): Send error messages to RAW stdout.
1475 (mi_cmds): Sort by class.
1476
1477 * mi-main.c (raw_stdout): Make global.
1478 * mi-main.c: Remove #ifdef UI_OUT. File assumes UI_OUT is
1479 present.
1480 * mi-main.c: Include "gdb_string.h".
1481 (mi_out_put): Delete declaration.
1482
14831999-06-11 Fernando Nasser <fnasser@totem.to.cygnus.com>
1484
1485 * mi-main.c: Add pre-processor test for UI_OUT.
1486 (mi_execute_command): Add pre-processor test for UI_OUT.
1487
1488Fri Jun 11 23:11:41 1999 Andrew Cagney <cagney@b1.cygnus.com>
1489
1490 * mi-main.c (raw_stdout): New variable.
1491 (mi_execute_command): Write mi-out direct to raw_stdout.
1492 (mi_command_loop): Create raw_stdout. Attach gdb_stdout to the
1493 console.
1494 (mi_console_file_fputs, mi_console_file_delete,
1495 mi_console_file_new): New functions.
1496 (struct mi_console_file): Declare.
1497
1498Fri Jun 11 18:34:33 1999 Andrew Cagney <cagney@b1.cygnus.com>
1499
1500 * mi-main.c (mi_execute_command): Call mi_out_put to display the
1501 result.
1502 * mi-out.c (mi_out_put): New function.
1503 * ui-out.h (mi_out_put): Add declare. Will move later.
1504 * Makefile.in (mi-cmds.o, mi-main.o): Add dependency on ui-out.h.
1505
1506 * mi-out.c (mi_field_string, mi_field_fmt, mi_message, mi_flush,
1507 out_field_fmt, list_open, list_close): Replace gdb_stdout with
1508 data->buffer.
1509 (field_separator, list_open, list_close): Add uiout parameter.
1510 (mi_table_begin, mi_table_body, mi_table_end, mi_list_begin,
1511 mi_list_end, mi_field_string, mi_field_fmt, out_field_fmt,
1512 out_field_fmt): Update.
1513
1514 * mi-out.c (mi_out_new): Initialize supress_field_separator.
1515 (supress_field_separator): Move into mi-out local data object.
1516 (mi_table_begin, mi_list_begin, field_separator): Update.
1517
1518Fri Jun 11 16:08:37 1999 Andrew Cagney <cagney@b1.cygnus.com>
1519
1520 * mi-out.c (mi_out_new): New function, replace init_mi_out.
1521 * mi-main.c (mi_command_loop): Call mi_out_new().
1522
1523 * ui-out.h (mi_out_new): Add declaration. Will move later.
1524 (mi_ui_out_impl): Delete.
1525
1526Wed Jun 9 16:42:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
1527
1528 * mi-main.c: Include "ui-hooks.h".
1529 (mi_init_ui, mi_command_loop): New functions.
1530 (_initialize_mi_main): Install ``mi'' as the interpreter when
1531 selected.
1532
1533Mon Jun 7 18:43:43 1999 Andrew Cagney <cagney@b1.cygnus.com>
1534
1535 From Fernando Nasser <fnasser@totem.to.cygnus.com>
1536 * mi-cmds.c (build_table): Clean up error message.
1537 * mi-cmds.c (mi_cmd_execute), mi-main.c (mi_execute_command): Only
1538 print debug information when mi_debug_p.
1539 * mi-cmds.h (mi_debug_p), mi-main.c: Global, control debug messages.
1540
1541Thu Jun 3 00:44:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
1542
1543 From Fernando Nasser <fnasser@totem.to.cygnus.com>:
1544 * mi-cmds.c: Add CLI definitions for "exec-arguments",
1545 "exec-next", "gdb-exit", "break-list", "break-info", "exec-step"
1546 and "stack-list-frames" to mi_cmds.
1547 (struct mi_command): Add ``from_tty'' argument to func.
1548 * mi-cmds.h (quit_force): Declare.
1549
15501999-05-31 Fernando Nasser <fnasser@totem.to.cygnus.com>
1551
1552 * mi-out.c (mi_table_end): Remove unwanted "\n".
1553
1554Thu May 27 14:59:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
1555
1556 * top.c: Include "ui-hooks.h".
1557 (call_interp_loop): Tempoary. Pass mi_execute_command to
1558 simplified_command_loop. Initialize gdb_stdout & gdb_stderr to
1559 stdio gdb_file streams. Force all hooks to null.
1560
1561 * mi-cmds.h, mi-main.c, mi-cmds.c: New files.
1562 * Makefile.in (SFILES): Add mi-main.c, mi-cmds.c
1563 (COMMON_OBS): Add mi-main.o, mi-cmds.o.
1564 (mi_cmds_h): Define.
1565
1566Wed May 26 12:39:49 1999 Andrew Cagney <cagney@b1.cygnus.com>
1567
1568 * top.c (call_interp_loop): Hack. Add extern declaration for
1569 mi_ui_out_impl.
1570
15711999-05-25 Fernando Nasser <fnasser@totem.to.cygnus.com>
1572
1573 * mi-out.c: New table syntax.
1574
1575Mon May 24 16:16:29 1999 Andrew Cagney <cagney@amy.cygnus.com>
1576
1577 mi-out.c (_initialize_mi_out): Add external declaration.
1578
15791999-05-21 Fernando Nasser <fnasser@totem.to.cygnus.com>
1580
1581 * mi-out.c (mi_table_begin): Added missing parameter.
1582
15831999-05-21 Fernando Nasser <fnasser@totem.to.cygnus.com>
1584
1585 * mi-out.c: Changed table markers and added table id.
1586
15871999-05-21 Fernando Nasser <fnasser@totem.to.cygnus.com>
1588
1589 * mi-out.c: New file. Implements low-level ui-out primitives for
1590 CLI-based interaction.
1591
1592\f
1593Local Variables:
1594mode: change-log
1595left-margin: 8
1596fill-column: 74
1597version-control: never
1598End:
This page took 0.151786 seconds and 4 git commands to generate.