Commit | Line | Data |
---|---|---|
d9d9c31f AC |
1 | 2003-05-08 Andrew Cagney <cagney@redhat.com> |
2 | ||
3 | * mi-main.c (register_changed_p): Use MAX_REGISTER_SIZE instead of | |
4 | MAX_REGISTER_RAW_SIZE. | |
5 | ||
0c92afe8 AC |
6 | 2003-05-08 Andrew Cagney <cagney@redhat.com> |
7 | ||
8 | * mi-main.c (get_register): Use MAX_REGISTER_SIZE. | |
9 | ||
b1e29e33 AC |
10 | 2003-05-05 Andrew Cagney <cagney@redhat.com> |
11 | ||
12 | * mi-main.c (mi_cmd_data_write_register_values): Replace | |
13 | REGISTER_SIZE with DEPRECATED_REGISTER_SIZE. | |
14 | ||
0d18235f JB |
15 | 2003-05-03 J. Brobecker <brobecker@gnat.com> |
16 | ||
17 | From Thierry Schneider <tpschneider1@yahoo.com>: | |
18 | * mi-cmds.h (mi_cmd_symbol_list_lines): Add declaration. | |
19 | * mi-cmds.c (mi_cmds): Add entry for new MI command. | |
20 | * mi-cmd-symbol.c (mi_cmd_symbol_list_lines): New source file | |
21 | for all symbol-related commands. | |
22 | ||
4e35d5f0 BR |
23 | 2003-04-02 Bob Rossi <bob_rossi@cox.net> |
24 | ||
25 | * mi-cmd-file.c: New file to implement mi file commands. | |
26 | * mi-getopt.c (mi_valid_noargs): Added mi_valid_noargs to verify | |
27 | if a set of parameters passed to an MI function has no arguments | |
28 | * mi-getopt.h (mi_valid_noargs): Declare. | |
29 | * mi-cmds.c (mi_cmds): Added -file-list-exec-source-file command. | |
30 | * mi-cmds.h (mi_cmd_file_list_exec_source_file): Declare. | |
31 | ||
922fbb7b AC |
32 | 2003-03-27 Andrew Cagney <cagney@redhat.com> |
33 | ||
34 | * gdbmi.texinfo: Delete file. Contents moved to | |
35 | ../doc/gdb.texinfo. | |
36 | ||
ac2adee5 AC |
37 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
38 | ||
39 | * mi-main.c (get_register): Use frame_register instead of | |
40 | get_saved_register. | |
41 | ||
1248ede2 AC |
42 | 2003-03-08 Andrew Cagney <cagney@redhat.com> |
43 | ||
44 | * mi-out.c: Update copyright. | |
45 | (mi_out_data): Define typedef. Use instead of ui_out_data. | |
46 | ||
7b83296f AC |
47 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
48 | ||
49 | * mi-main.c (get_register): Use register_type instead of | |
50 | REGISTER_VIRTUAL_TYPE. | |
51 | ||
22abf04a DC |
52 | 2003-02-25 David Carlton <carlton@math.stanford.edu> |
53 | ||
54 | * mi-cmd-stack.c: Replace all instances of SYMBOL_NAME with | |
55 | DEPRECATED_SYMBOL_NAME. Update copyright. | |
56 | ||
4cf623b6 DJ |
57 | 2003-02-21 Daniel Jacobowitz <drow@mvista.com> |
58 | ||
59 | * mi-cmd-stack.c (list_args_or_locals): Handle LOC_COMPUTED and | |
60 | LOC_COMPUTED_ARG. | |
61 | ||
fe898f56 DC |
62 | 2003-02-19 David Carlton <carlton@math.stanford.edu> |
63 | ||
64 | * mi-cmd-stack.c: #include "block.h" | |
65 | ||
11308a41 AC |
66 | 2003-02-09 Andrew Cagney <ac131313@redhat.com> |
67 | ||
68 | * mi-interp.c (mi_remove_notify_hooks): Convert function | |
69 | definition to ISO C. | |
70 | ||
5cb316ef AC |
71 | 2003-02-06 Andrew Cagney <ac131313@redhat.com> |
72 | ||
73 | * mi-cmd-env.c: Include "gdb_stat.h" instead of <sys/stat.h>. | |
74 | ||
4389a95a AC |
75 | 2003-02-04 Jim Ingham <jingham@apple.com> |
76 | Keith Seitz <keiths@redhat.com> | |
77 | Elena Zannoni <ezannoni@redhat.com> | |
78 | Andrew Cagney <ac131313@redhat.com> | |
79 | ||
80 | * mi-main.h: New file. | |
81 | * mi-interp.c: New file. | |
82 | * mi-main.c: Include "interps.h". | |
83 | (mi_error_message): Make global. | |
84 | (mi_input): Delete static function, moved to "mi-interp.c". | |
85 | (mi_execute_command, mi_execute_command_wrapper): Ditto. | |
86 | (mi_command_loop, mi1_command_loop, mi2_command_loop): Ditto. | |
87 | (mi_load_progress): Make non-static. | |
88 | (mi_error_last_message): New function. | |
89 | (captured_mi_execute_command): If the interpreter changed, don't | |
90 | print anything. | |
91 | (mi_load_progress): Use current_interp_named_p. | |
92 | (mi_init_ui): Delete function. | |
93 | (_initialize_mi_main): Don't install the mi interpreter, handled | |
94 | by "mi-interp.c". | |
95 | (mi_exec_async_cli_cmd_continuation): Make static. | |
96 | * mi-console.h (mi_console_file_new): Add `quote' parameter. | |
97 | * mi-console.c (struct mi_console_file): Add `quote'. | |
98 | (mi_console_file_new): Add `quote' parameter. Initialize `quote'. | |
99 | (mi_console_raw_packet): Only quote the output when `quote'. | |
100 | * mi-cmds.h (mi_cmd_interpreter_exec): Declare. | |
101 | (mi_error_message, mi_error_last_message): Declare. | |
102 | (mi_execute_command): Declare. | |
103 | * mi-cmds.c: Add `interpreter-exec' command. | |
104 | ||
eca48b00 AC |
105 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
106 | ||
107 | From Keith Seitz <keiths@redhat.com>: | |
108 | * gdbmi.texinfo (GDB/MI Miscellaneous Commands): Document the | |
109 | interpreter-exec command. | |
110 | ||
e7494ffb AC |
111 | 2003-02-02 Andrew Cagney <ac131313@redhat.com> |
112 | ||
113 | From 2002-11-10 Jason Molenda (jason-cl@molenda.com): | |
114 | * mi-cmd-var.c (mi_cmd_var_list_children): CHILDREN field is | |
115 | now a list; still a tuple when in mi1. | |
116 | * gdbmi.texinfo: Update var-list-children example. | |
117 | ||
1bac305b AC |
118 | 2003-01-13 Andrew Cagney <ac131313@redhat.com> |
119 | ||
120 | * mi-cmd-env.c: Update copyright. | |
121 | ||
7789c6f5 EZ |
122 | 2003-01-13 Elena Zannoni <ezannoni@redhat.com> |
123 | ||
124 | * mi-main.c (mi_cmd_exec_return): Use print_stack_frame instead of | |
125 | show_and_print_stack_frame. | |
126 | ||
4ef3f3be AC |
127 | 2003-01-09 Andrew Cagney <ac131313@redhat.com> |
128 | ||
129 | * mi-cmd-env.c: Include "gdb_string.h" instead of <string.h>. | |
130 | Move all includes to after "defs.h". | |
131 | ||
068890be JJ |
132 | 2002-12-13 Jeff Johnston <jjohnstn@redhat.com> |
133 | ||
134 | * mi-cmds.c (-environment-directory) Change to use mi_cmd_env_dir, | |
135 | (-environment-cd): Change to use mi_cmd_env_cd,. | |
136 | (-environment-pwd): Change to use mi_cmd_env_pwd. | |
137 | (-environment-path): Change to use mi_cmd_env_path. | |
138 | * mi-cmds.h (mi_cmd_env_cd, mi_cmd_env_dir): New prototypes. | |
139 | (mi_cmd_env_path, mi_cmd_env_pwd): Ditto. | |
140 | * mi-cmd-env.c: New file. Part of fix for PR gdb/741. | |
141 | * gdbmi.texinfo (environment-cd): Update output and example. | |
142 | (environment-pwd): Ditto. | |
143 | (environment-dir): Update output, description, and examples. | |
144 | (environment-path): Ditto. | |
145 | ||
6e7f8b9c AC |
146 | 2002-11-29 Andrew Cagney <ac131313@redhat.com> |
147 | ||
148 | * mi/mi-cmd-stack.c, mi/mi-main.c: Update to use | |
149 | deprecated_selected_frame. | |
150 | ||
73937e03 AC |
151 | 2002-11-13 Andrew Cagney <ac131313@redhat.com> |
152 | ||
153 | * mi-main.c (mi_cmd_data_write_register_values): Use | |
154 | deprecated_write_register_bytes instead of write_register_bytes. | |
155 | ||
46ae13f0 JJ |
156 | 2002-11-11 Jeff Johnston <jjohnstn@redhat.com> |
157 | ||
158 | * gdbmi.texinfo (-var-assign): Add comments about interaction | |
159 | with -var-update and add an example. Part of fix for gdb/702. | |
160 | ||
e78c0063 JJ |
161 | 2002-11-08 Jeff Johnston <jjohnstn@redhat.com> |
162 | ||
163 | * mi-main.c (mi_command_loop): Initialize raw_stdout and gdb_stdout | |
164 | only if mi version is <= 1. | |
165 | (mi_init_ui): Initialize raw_stdout and gdb_stdout if mi version | |
166 | is > 1 so startup message is treated as console output. This is | |
167 | part of fix for PR gdb/604. | |
168 | ||
1bd34ded JJ |
169 | 2002-11-06 Jeff Johnston <jjohnstn@redhat.com> |
170 | ||
171 | * mi-cmd-var.c (mi_cmd_var_create): Change the function used to | |
172 | parse the frame addr from parse_and_eval_address() to | |
173 | string_to_core_addr(). This is a fix for PR gdb/494. | |
174 | ||
6ad4a2cf JJ |
175 | 2002-10-23 Jeff Johnston <jjohnstn@redhat.com> |
176 | ||
177 | * mi-cmd-var.c: Change all remaining occurrences of ui_out_tuple_begin | |
178 | to make_cleanup_ui_out_tuple_begin_end. Change all remaining | |
179 | occurrences of ui_out_list_begin to make_cleanup_ui_out_list_begin_end. | |
180 | Use do_cleanups instead of ui_out_list_end or ui_out_tuple_end. This | |
181 | is a fix for PR gdb/680. | |
182 | * mi-cmd-stack.c: Ditto. | |
183 | * mi-main.c: Ditto. | |
184 | ||
99615eb8 KS |
185 | 2002-10-22 Keith Seitz <keiths@redhat.com> |
186 | ||
187 | * mi-main.c (mi_cmd_thread_select): Only return MI_CMD_CAUGHT_ERROR | |
188 | when we really did catch an error(). If we got GDB_RC_FAIL, return | |
189 | MI_CMD_ERROR instead. | |
190 | ||
9f2aab2d JJ |
191 | 2002-10-03 Jeff Johnston <jjohnstn@redhat.com> |
192 | ||
193 | * gdbmi.texinfo: Fix examples that show frames to remove | |
194 | extraneous blank in level field. Part of fix for PR gdb/192. | |
195 | ||
3a387118 JJ |
196 | 2002-10-03 Jeff Johnston <jjohnstn@redhat.com> |
197 | ||
198 | * mi-cmd-var.c (mi_cmd_var_update): Fix for PR gdb/672. For m2, | |
199 | output list begin and end for "changelist" rather than tuple begin/end. | |
200 | (varobj_update_one): For m2, add tuple begin and end for varobj | |
201 | update output. | |
202 | ||
36dc181b EZ |
203 | 2002-10-02 Elena Zannoni <ezannoni@redhat.com> |
204 | ||
205 | * mi-main.c (mi_cmd_exec_return): Don't use | |
206 | return_command_wrapper, use return_command instead. | |
207 | (mi_cmd_exec_interrupt): Don't use | |
208 | interrupt_target_command_wrapper, use interrupt_target_command | |
209 | instead. | |
210 | (return_command_wrapper, interrupt_target_command_wrapper): | |
211 | Delete. | |
212 | Include frame.h. | |
213 | ||
da0f9dcd AC |
214 | 2002-10-01 Andrew Cagney <ac131313@redhat.com> |
215 | ||
216 | * mi-main.c (mi2_command_loop): New function. | |
217 | (mi0_command_loop): Delete function. | |
218 | (_initialize_mi_main): Recognize, and default to, "mi2". Do not | |
219 | recognize "mi0". | |
220 | * mi-out.c (mi_table_begin): Remove mi0 code. | |
221 | (mi_table_body, mi_table_end): Ditto. | |
222 | (mi_table_header, mi_open, mi_close): Ditto. | |
223 | ||
c7ec4050 AC |
224 | 2002-09-29 Andrew Cagney <ac131313@redhat.com> |
225 | ||
226 | * mi-out.c (mi_version): New function. | |
227 | * mi-out.h (mi_version): Declare. | |
228 | ||
7501537f AC |
229 | 2002-09-27 Andrew Cagney <ac131313@redhat.com> |
230 | ||
231 | From 2002-07-12 Mo DeJong <supermo@bayarea.net> | |
232 | * gdbmi.texinfo (var-evaluate-expression): Note that | |
233 | var-list-children must be invoked before child variable | |
234 | values can be evaluated. | |
235 | ||
b72b33ef EZ |
236 | 2002-09-26 Elena Zannoni <ezannoni@redhat.com> |
237 | ||
238 | * mi-cmd-disas.c (dump_insns): Add text only output for CLI. | |
239 | (do_mixed_source_and_assembly): Ditto. | |
240 | ||
4060713b KS |
241 | 2002-09-11 Keith Seitz <keiths@redhat.com> |
242 | ||
243 | * mi-main.c (mi_cmd_data_list_register_names): Use cleanups | |
244 | for the uiout list. Do the cleanups when returning an error. | |
245 | (mi_cmd_data_list_changed_registers): Ditto. | |
246 | (mi_cmd_data_list_register_values): Use cleanups for the uiout list | |
247 | and tuples. Do the cleanups when returning errors. | |
248 | ||
5f8a3188 AC |
249 | 2002-07-29 Andrew Cagney <ac131313@redhat.com> |
250 | ||
5f8a3188 AC |
251 | * mi-cmd-var.c: Include "gdb_string.h". |
252 | * mi-cmd-disas.c: Ditto. | |
253 | ||
32c95e20 KS |
254 | 2002-06-17 Keith Seitz <keiths@redhat.com> |
255 | ||
256 | * gdbmi.texinfo: Update command examples with real MI behavior. | |
257 | ||
8d34ea23 KS |
258 | 2002-05-20 Keith Seitz <keiths@redhat.com> |
259 | ||
260 | * mi-main.c (captured_mi_execute_command): Add uiout parameter. | |
261 | "data" is now a structure which is used to pass data to/from this | |
262 | function to mi_execute_command. | |
263 | Modify function to comply with requirements from catch_exceptions. | |
264 | Store real return result and command's return result in data. | |
265 | (mi_execute_command): Use catch_exceptions. | |
266 | Use enum to handle actions to be performed instead of overloading | |
267 | catch_errors return result and the mi return result. | |
268 | ||
b31da25e AC |
269 | 2002-04-14 Andrew Cagney <ac131313@redhat.com> |
270 | ||
271 | * mi-main.c (mi_cmd_exec_return): | |
272 | ||
cda5a58a AC |
273 | 2002-04-09 Andrew Cagney <ac131313@redhat.com> |
274 | ||
275 | * mi-main.c (register_changed_p): Use frame_register_read instead | |
276 | of read_relative_register_raw_bytes. | |
277 | (get_register): Delete out-of-date comment. | |
278 | ||
27cdacdb EZ |
279 | 2002-04-07 Elena Zannoni <ezannoni@redhat.com> |
280 | ||
281 | * mi-cmd-disas.c: Run through indent. | |
282 | ||
8f0eea0e EZ |
283 | 2002-04-07 Elena Zannoni <ezannoni@redhat.com> |
284 | ||
285 | * mi-cmd-disas.c (dump_insns): New function. | |
286 | (do_mixed_source_and_assembly): New function. | |
287 | (do_assembly_only): New function. | |
288 | (do_disassembly): New function. | |
289 | (mi_cmd_disassemble): Rewrite using smaller, more modular | |
290 | functions. | |
291 | ||
ae767bfb JB |
292 | 2002-04-05 Jim Blandy <jimb@redhat.com> |
293 | ||
294 | * mi-cmd-stack.c (list_args_or_locals): Pass new arg to | |
295 | get_frame_block. (See entry in gdb/ChangeLog.) | |
296 | ||
46fe1613 EZ |
297 | 2002-04-05 Elena Zannoni <ezannoni@redhat.com> |
298 | ||
299 | * mi-cmd-disas.c (mi_cmd_disassemble): Use TARGET_PRINT_INSN | |
300 | instead of tm_print_insn. | |
301 | Update copyright year. | |
302 | ||
b0c0ea31 DJ |
303 | 2002-04-04 Daniel Jacobowitz <drow@mvista.com> |
304 | ||
305 | * mi-cmd-disas.c (mi_cmd_disassemble): Skip end-of-function | |
306 | markers in the line table. | |
307 | ||
349c5d5f AC |
308 | 2002-03-15 Andrew Cagney <ac131313@redhat.com> |
309 | ||
310 | * mi-main.c (XMALLOC): Delete macro. | |
311 | * mi-out.c (XMALLOC): Ditto. | |
312 | * mi-parse.c (XMALLOC): Ditto. | |
313 | * mi-console.c (XMALLOC): Ditto. | |
314 | * mi-cmd-var.c (XMALLOC): Ditto. | |
315 | * mi-cmd-break.c (XMALLOC): Ditto. | |
316 | ||
317 | * mi/mi-cmd-var.c, mi/mi-console.c, mi/mi-out.c: Update copyright | |
318 | * mi/mi-parse.c: Ditto. | |
319 | ||
080fe24b AC |
320 | 2002-02-24 Andrew Cagney <ac131313@redhat.com> |
321 | ||
322 | From wiz at danbala: | |
323 | * gdbmi.texinfo: Fix grammar and typos. | |
324 | Fix PR gdb/287. | |
325 | ||
39bf4652 JB |
326 | 2002-02-03 Jim Blandy <jimb@redhat.com> |
327 | ||
328 | * mi-cmd-stack.c (list_args_or_locals): Move declaration of | |
329 | print_me inside the loop body, so it gets re-initialized every | |
330 | iteration. The cases for the different symbol kinds leave | |
331 | print_me unchanged if they don't want the symbol printed. | |
332 | ||
6c0e9fb3 AC |
333 | 2002-01-22 Andrew Cagney <ac131313@redhat.com> |
334 | ||
335 | * gdbmi.texinfo: Remove makeinfo 3.12 hacks. | |
336 | ||
337 | 2002-01-21 Andrew Cagney <ac131313@redhat.com> | |
8926118c | 338 | |
e9afe819 AC |
339 | * mi-cmd-stack.c: Remove #else clause of #ifdef UI_OUT. |
340 | * mi-cmd-break.c: Ditto. | |
341 | * mi-main.c: Ditto. | |
8926118c | 342 | |
2a6585f0 EZ |
343 | 2001-12-30 Eli Zaretskii <eliz@is.elta.co.il> |
344 | ||
345 | * gdbmi.texinfo: Fix the application of GFDL in the Copyright notice. | |
346 | ||
e88c90f2 DJ |
347 | 2001-10-12 Daniel Jacobowitz <drow@mvista.com> |
348 | ||
349 | * mi-cmd-stack.c (list_args_or_locals): Use ALL_BLOCK_SYMBOLS. | |
350 | ||
2b65245e AC |
351 | 2001-09-18 Andrew Cagney <ac131313@redhat.com> |
352 | ||
353 | * mi-main.c (mi_cmd_thread_select): Pass uiout to | |
354 | gdb_thread_select. | |
355 | (mi_cmd_thread_list_ids): Pass uiout to gdb_list_thread_ids. | |
356 | ||
357 | * mi-cmd-break.c (breakpoint_notify): Pass uiout to | |
358 | gdb_breakpoint_query. | |
359 | ||
4309c8f2 KS |
360 | 2001-08-17 Keith Seitz <keiths@redhat.com> |
361 | ||
362 | * mi-cmd-var.c (varobj_update_one): Update call to | |
363 | varobj_update to reflect recent api change. | |
364 | ||
5b7f31a4 AC |
365 | 2001-07-26 Andrew Cagney <ac131313@redhat.com> |
366 | ||
367 | * mi-main.c: Include "gdb.h". | |
368 | * mi-cmd-break.c: Include "gdb.h". | |
369 | ||
a433f9e4 AC |
370 | 2001-07-12 Andrew Cagney <ac131313@redhat.com> |
371 | ||
372 | * mi-main.c (mi_execute_command): Flush output after ``(gdb)'' | |
373 | prompt. Bug reported by David Whedon. | |
374 | (mi_execute_async_cli_command): Ditto. | |
375 | (mi_exec_async_cli_cmd_continuation): Ditto. | |
376 | (mi_command_loop): Ditto. | |
377 | ||
bf702e7e MK |
378 | 2001-07-10 Mark Kettenis <kettenis@gnu.org> |
379 | ||
380 | * mi-out.c (mi_out_new): Initialize suppress_ouput field of newly | |
381 | created `struct ui_out_data'. | |
382 | ||
d8bf3afa KB |
383 | 2001-07-09 Kevin Buettner <kevinb@redhat.com> |
384 | ||
385 | * mi-main.c (register_changed_p, get_register): Use alloca() | |
386 | to allocate space previously allocated via gcc's | |
387 | variable-length array extension. | |
388 | (mi_cmd_data_write_register_values, mi_cmd_data_write_memory): | |
389 | Change type of ``buffer'' to ``void *''. Don't cast return value | |
390 | from xmalloc(). Add a cleanup to free the xmalloc'd buffer. | |
391 | ||
96052a95 AC |
392 | 2001-07-07 Andrew Cagney <ac131313@redhat.com> |
393 | ||
394 | * mi-main.c (mi_cmd_data_evaluate_expression): Replace value_ptr | |
395 | with `struct value *'. | |
396 | ||
46712191 KB |
397 | 2001-07-08 Kevin Buettner <kevinb@redhat.com> |
398 | ||
399 | * mi-out.c (mi_table_header, mi_field_int, mi_field_skip) | |
400 | (mi_field_string) Make function declarators match earlier | |
401 | declarations. | |
402 | ||
9dc5e2a9 AC |
403 | 2001-07-04 Andrew Cagney <ac131313@redhat.com> |
404 | ||
405 | * mi-out.c (mi_ui_out_impl): Initialize is_mi_like_p to one. | |
406 | ||
cff22675 AC |
407 | 2001-06-27 Andrew Cagney <ac131313@redhat.com> |
408 | ||
409 | * mi-out.c (mi_table_begin): Include nr_cols and nr_rows in mi1 | |
410 | table output. | |
411 | * mi-out.c (mi_table_begin): Only suppress output when mi0. Change | |
412 | the header to a list. | |
413 | (mi_table_body): For mi1, close the header list and open a table | |
414 | body list. | |
415 | (mi_table_end): For mi1, close the body list. | |
416 | (mi_table_header): For mi1, output a tuple containing all the | |
417 | header information. | |
418 | (mi_open, mi_close): Reverse logic of mi_version test. | |
419 | * gdbmi.texinfo (GDB/MI Breakpoint Table Commands): Update. | |
420 | ||
8eb69147 AC |
421 | 2001-06-26 Andrew Cagney <ac131313@redhat.com> |
422 | ||
423 | * gdbmi.texinfo (GDB/MI Output Syntax): Delete reference to query | |
424 | packet. | |
425 | ||
dc61bc6d AC |
426 | 2001-06-26 Andrew Cagney <ac131313@redhat.com> |
427 | ||
428 | * mi-cmd-stack.c (list_args_or_locals): Output a list of "args" or | |
429 | "locals" entries. | |
430 | * gdbmi.texinfo (stack-list-locals, stack-list-arguments) | |
431 | (exec-interrupt, target-select, thread-select): Update | |
432 | documentation. | |
433 | ||
d5e5643b AC |
434 | 2001-06-26 Andrew Cagney <ac131313@redhat.com> |
435 | ||
436 | * mi-cmd-stack.c (mi_cmd_stack_list_frames): Output a list of | |
437 | "stack" entries. | |
438 | (mi_cmd_stack_list_args): Ditto for "stack-args". | |
439 | * gdbmi.texinfo (stack-list-frames, stack-list-arguments): Update | |
440 | documentation. | |
441 | (GDB/MI Stack Manipulation Commands): Fix section title. Was | |
442 | Stack Manipulation Commands in GDB/MI. | |
443 | ||
68c81b54 AC |
444 | 2001-06-25 Andrew Cagney <ac131313@redhat.com> |
445 | ||
446 | * gdbmi.texinfo: Update output examples that contain stop reason | |
447 | output, change the args=.... to a list. | |
448 | (exec-return): Ditto. | |
449 | ||
45399be4 AC |
450 | 2001-06-25 Andrew Cagney <ac131313@redhat.com> |
451 | ||
452 | * mi-main.c (mi_cmd_data_read_memory): Output the memory contents | |
453 | - memory and data - as a list. | |
454 | * gdbmi.texinfo (data-read-memory): Update documentation. | |
455 | ||
80f43b40 AC |
456 | 2001-06-25 Andrew Cagney <ac131313@redhat.com> |
457 | ||
458 | * mi-main.c (mi_cmd_data_list_register_values): Output a list of | |
459 | register values. | |
460 | * gdbmi.texinfo (data-list-register-values): Update documentation. | |
461 | ||
173d6894 AC |
462 | 2001-06-25 Andrew Cagney <ac131313@redhat.com> |
463 | ||
464 | * mi-main.c (mi_cmd_data_list_register_names): Output a list of | |
465 | register names. | |
466 | (mi_cmd_data_list_register_names): Include the pseudo registers. | |
467 | (mi_cmd_data_list_register_names): Don't leave holes in the list, | |
468 | output "" for NULL registers. | |
469 | * gdbmi.texinfo (data-list-register-names): Update documentation. | |
470 | ||
40d5d7e9 AC |
471 | 2001-06-23 Andrew Cagney <ac131313@redhat.com> |
472 | ||
473 | * mi-main.c (mi_cmd_data_list_changed_registers): Output a list of | |
474 | register numbers. | |
475 | * gdbmi.texinfo (data-list-changed-registers): Update | |
476 | documentation. | |
477 | ||
70242e8d AC |
478 | 2001-06-23 Andrew Cagney <ac131313@redhat.com> |
479 | ||
480 | * gdbmi.texinfo (data-disassemble): Update documentation of | |
481 | output. Produces a list of instructions and a list of source | |
482 | lines. | |
483 | ||
484 | 2001-06-22 Andrew Cagney <ac131313@redhat.com> | |
485 | ||
486 | * mi-cmd-disas.c (mi_cmd_disassemble): For "-data-disassemble", | |
487 | output a list instead of a tupple. | |
488 | ||
76fe6b98 AC |
489 | 2001-06-21 Andrew Cagney <ac131313@redhat.com> |
490 | ||
491 | * mi-out.c (struct ui_out_data): Replace field first_header with | |
492 | suppress_output. | |
493 | (mi_begin, mi_end): Check suppress_header. | |
494 | (mi_field_int, mi_field_skip): Ditto. | |
495 | (mi_field_string, mi_field_fmt): Ditto. | |
496 | (mi_table_begin): When nr_rows is zero, set suppress_header else, | |
497 | output the start of the header. | |
498 | (mi_table_body): Clear suppress header. | |
499 | ||
a7c14aa5 AC |
500 | 2001-06-21 Andrew Cagney <ac131313@redhat.com> |
501 | ||
502 | * mi-out.c (mi_open): For lists, when mi_version > 0, use ``[''. | |
503 | (mi_close): Ditto for ``]''. | |
504 | ||
b25959ec AC |
505 | 2001-06-20 Andrew Cagney <ac131313@redhat.com> |
506 | ||
507 | * mi-out.c (mi_table_header): Add parameter ``col_name''. | |
508 | ||
d63f1d40 AC |
509 | 2001-06-18 Andrew Cagney <ac131313@redhat.com> |
510 | ||
511 | * mi-out.c: Include "gdb_assert.h". | |
512 | (mi_table_begin): Add parameter ``nr_rows''. | |
513 | ||
b30bf9ee AC |
514 | 2001-06-18 Andrew Cagney <ac131313@redhat.com> |
515 | ||
516 | * mi-main.c: Use strncmp as the "mi" test. Allow "mi", "mi0" and | |
517 | "mi1". | |
518 | (mi_command_loop): Add parameter mi_version, pass to mi_out_new. | |
519 | (mi1_command_loop, mi0_command_loop): New functions. | |
520 | (_initialize_mi_main): Recognize "mi", "mi0" and "mi1". | |
521 | * mi-out.c (mi_out_new): Add parameter mi_version. | |
522 | (struct ui_out_data): Add field mi_version. | |
523 | * mi-out.h (mi_out_new): Update. | |
524 | ||
163e6d2d AC |
525 | 2001-06-07 Andrew Cagney <ac131313@redhat.com> |
526 | ||
527 | * gdbmi.texinfo (GDB/MI Output Syntax): Add tuples and lists to | |
528 | syntax. | |
529 | (GDB/MI Draft Changes to Output Syntax): Delete section. | |
530 | ||
59807497 AC |
531 | Mon Jun 11 17:22:25 2001 Andrew Cagney <cagney@b1.cygnus.com> |
532 | ||
533 | * mi-out.c: Fix typo. s/supress/suppress/. | |
534 | ||
d5e8ba62 AC |
535 | 2001-06-09 Andrew Cagney <ac131313@redhat.com> |
536 | ||
537 | * mi-out.c (mi_table_end, mi_table_begin, mi_begin, mi_end): Move | |
538 | supress_field_separator updates from here. | |
539 | (mi_open, mi_close): To here. | |
540 | (mi_open): Add parameter name. Output a field_separator. | |
541 | (mi_table_begin): Update. | |
c4264430 | 542 | (mi_table_header): Update. |
d5e8ba62 AC |
543 | (mi_begin): Update. |
544 | ||
e2e11a41 AC |
545 | 2001-06-09 Andrew Cagney <ac131313@redhat.com> |
546 | ||
5e173cfd AC |
547 | * mi-out.c (mi_table_begin): Make char* parameters constant. |
548 | (mi_table_header): Ditto. | |
549 | (mi_field_int): Ditto. | |
550 | (mi_field_skip): Ditto. | |
551 | (mi_field_string): Ditto. | |
552 | (mi_field_fmt): Ditto. | |
553 | (mi_text): Ditto. | |
554 | (mi_message): Ditto. | |
e2e11a41 | 555 | |
5a9aa5dc AC |
556 | 2001-05-12 Andrew Cagney <ac131313@redhat.com> |
557 | ||
558 | * mi-out.c (mi_close, mi_open): Output ``[]'' when a list. | |
559 | ||
666547aa AC |
560 | Fri May 11 13:55:07 2001 Andrew Cagney <cagney@b1.cygnus.com> |
561 | ||
562 | * mi-cmd-var.c: Replace ui_out_list_begin, ui_out_list_end and | |
563 | make_cleanup_ui_out_list_end with ui_out_tupple_begin, | |
564 | ui_out_tupple_end and make_cleanup_ui_out_tupple_begin_end. | |
565 | * mi-cmd-stack.c: Ditto. | |
566 | * mi-cmd-disas.c: Ditto. | |
567 | * mi-main.c: Ditto. | |
568 | ||
9a0f0643 AC |
569 | 2001-05-10 Andrew Cagney <ac131313@redhat.com> |
570 | ||
571 | * mi-out.c (mi_open, mi_close): Replace list_open and list_close. | |
572 | (mi_table_begin): Update. | |
573 | (mi_table_header): Update. | |
574 | (mi_begin): Update. | |
575 | (mi_table_body): Update. | |
576 | (mi_table_end): Update. | |
577 | (mi_end): Update. | |
578 | ||
6311b07d AC |
579 | Thu May 10 16:28:13 2001 Andrew Cagney <cagney@b1.cygnus.com> |
580 | ||
581 | * mi-main.c (mi_execute_async_cli_command): Always initialize | |
582 | old_cleanups. | |
583 | ||
631ec795 AC |
584 | 2001-05-08 Andrew Cagney <ac131313@redhat.com> |
585 | ||
586 | * mi-out.c (mi_begin, mi_end): Replace mi_list_begin and | |
587 | mi_list_end. | |
588 | (mi_ui_out_impl): Update. | |
589 | ||
2e94c453 AC |
590 | 2001-03-28 Andrew Cagney <ac131313@redhat.com> |
591 | ||
592 | * mi-main.c (mi_cmd_data_read_memory): Use xcalloc. | |
593 | ||
e9c75b65 EZ |
594 | 2001-03-26 Eli Zaretskii <eliz@is.elta.co.il> |
595 | ||
596 | * gdbmi.texinfo: Update copyright. Change Permissions to GFDL. | |
597 | ||
8e2eec62 AC |
598 | 2001-03-20 Andrew Cagney <ac131313@redhat.com> |
599 | ||
600 | * mi-cmd-disas.c (mi_cmd_disassemble): Initialize ``file_string'' | |
601 | and ``line_num''. Consolidate declaration of argument variables. | |
602 | ||
cf4eee44 AC |
603 | 2001-03-19 Andrew Cagney <ac131313@redhat.com> |
604 | ||
605 | * mi-out.h: Remove #ifdef __STDC__. | |
606 | ||
a728f042 AC |
607 | 2001-03-08 Andrew Cagney <ac131313@redhat.com> |
608 | ||
609 | * mi-main.c (mi_cmd_data_list_register_names): Use NUM_REGS, not | |
610 | ARCH_NUM_REGS. | |
611 | (mi_cmd_data_list_changed_registers): Ditto. | |
612 | (mi_cmd_data_list_register_values): Ditto. | |
613 | (mi_cmd_data_write_register_values): Ditto. | |
614 | ||
b6ba6518 KB |
615 | 2001-03-06 Kevin Buettner <kevinb@redhat.com> |
616 | ||
617 | * gdbmi.texinfo, mi-cmd-disas.c, mi-cmd-stack.c, mi-cmd-var.c, | |
618 | mi-cmds.c, mi-cmds.h, mi-console.c, mi-console.h, mi-getopt.c, | |
619 | mi-getopt.h, mi-out.c, mi-out.h, mi-parse.c, mi-parse.h: | |
620 | Update/correct copyright notices. | |
621 | ||
8e65ff28 AC |
622 | Wed Feb 7 19:50:37 2001 Andrew Cagney <cagney@redhat.com> |
623 | ||
624 | * mi-getopt.c: Add __FILE__ and __LINE__ parameter to calls to | |
625 | internal_error. | |
626 | * mi-console.c: Ditto. | |
627 | * mi-cmds.c: Ditto. | |
628 | * mi-cmd-break.c: Ditto. | |
629 | ||
80ee4fd5 FN |
630 | 2001-01-27 Fernando Nasser <fnasser@redhat.com> |
631 | ||
632 | From Momchil Velikov <velco@fadata.bg> | |
633 | * mi-cmd-disas.c (gdb_dis_asm_read_memory): Add missing memory | |
634 | attributes argument in the call to `xfer_memory'. | |
635 | ||
46c6187f KB |
636 | 2000-12-14 Kevin Buettner <kevinb@redhat.com> |
637 | ||
e7b044d6 KB |
638 | * mi-cmd-disas.c, mi-cmd-var.c, mi-console.c, mi-main.c, |
639 | mi-parse.c: Replace occurrences of free() with xfree(). | |
46c6187f | 640 | |
76995688 AC |
641 | Fri Nov 17 16:07:23 2000 Andrew Cagney <cagney@b1.cygnus.com> |
642 | ||
643 | * mi-main.c: Replace asprintf with xasprintf. | |
644 | * mi-cmd-var.c (mi_cmd_var_create): Ditto. | |
645 | ||
96c405b3 EZ |
646 | 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il> |
647 | ||
648 | * gdbmi.texinfo (GDB/MI Variable Objects): Dimensions of | |
649 | multitable changed to "@columnfractions .4 .6". Suggested by | |
650 | Dmitry Sivachenko <dima@Chg.RU>. | |
651 | ||
1c85fbd9 EZ |
652 | 2000-08-23 Eli Zaretskii <eliz@is.elta.co.il> |
653 | ||
654 | * gdbmi.texinfo: Change flathead -> @sc{gdb/mi}. | |
655 | Fix typos and markup mistakes (from Dmitry S. | |
656 | Sivachenko <dima@Chg.RU>). | |
657 | ||
e7997b74 EZ |
658 | 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il> |
659 | ||
660 | * gdbmi.texinfo: Change GDB -> @value{GDBN}, and | |
661 | (gdb) -> (@value{GDBP}). Fix a few typos and some markup. From | |
662 | Dmitry S. Sivachenko <dima@Chg.RU>. | |
663 | ||
e2f9c474 AC |
664 | Tue May 16 14:13:41 2000 Andrew Cagney <cagney@b1.cygnus.com> |
665 | ||
666 | * mi-main.c (mi_cmd_execute): Use free_current_contents. | |
667 | (free_and_reset): Delete. | |
668 | ||
47cf603e AC |
669 | Mon May 15 16:17:56 2000 Andrew Cagney <cagney@b1.cygnus.com> |
670 | ||
671 | * mi-main.c (mi_cmd_data_assign, mi_cmd_data_evaluate_expression), | |
672 | mi-cmd-var.c (mi_cmd_var_create, mi_cmd_var_delete): Delete | |
673 | make_cleanup_func casts. Not needed. | |
674 | ||
d68fc559 EZ |
675 | 2000-05-07 Eli Zaretskii <eliz@is.elta.co.il> |
676 | ||
677 | * gdbmi.texinfo: Lots of typos and grammar fixes from Brian | |
678 | Youmans <3diff@flib.gnu.ai.mit.edu>. | |
679 | ||
8b0ceefc AC |
680 | Wed Apr 26 18:35:19 2000 Andrew Cagney <cagney@b1.cygnus.com> |
681 | ||
682 | * gdbmi.texinfo (GDB/MI Output Syntax v2.0): Convert Draft 2.0 | |
683 | Output Syntax into a new section. Cross reference. | |
684 | (menu): Fix tipo. GDB/MI Compatibility with CLI. | |
685 | ||
7162c0ca EZ |
686 | 2000-04-23 Eli Zaretskii <eliz@is.elta.co.il> |
687 | ||
688 | * gdbmi.texinfo: Lots of changes, to include this document as part | |
689 | of the GDB manual. | |
690 | ||
73a93a32 JI |
691 | 2000-03-13 James Ingham <jingham@leda.cygnus.com> |
692 | ||
693 | * mi-cmd-var.c (mi_cmd_var_create): Add special frame cookie "@" | |
694 | to indicate an "USE_CURRENT_FRAME" variable. | |
695 | (varobj_update_one): Add "in_scope" and "type_changed" to the | |
696 | result. | |
697 | ||
cdffbaa2 EZ |
698 | 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
699 | ||
24e8cecf EZ |
700 | * mi-cmds.h: Export mi_cmd_data_write_register_values. |
701 | ||
702 | * mi-cmds.c (mi_cmds): Implement data-write-register-values with | |
703 | mi_cmd_data_write_register_values. | |
704 | ||
705 | * mi-main.c (mi_cmd_data_write_register_values): New | |
706 | function. Write a value into a register. | |
707 | ||
708 | 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
709 | ||
cdffbaa2 EZ |
710 | * gdbmi.texinfo: Update data-disassemble documentation. |
711 | ||
30e28a0e EZ |
712 | 2000-03-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
713 | ||
714 | * mi-cmd-disas.c (mi_cmd_disassemble): Use | |
715 | ui_out_field_core_addr() instead of print_address_numeric(), to | |
716 | maintain consistency throughout MI. | |
717 | ||
ab91fdd5 AC |
718 | Wed Feb 23 17:09:39 2000 Andrew Cagney <cagney@b1.cygnus.com> |
719 | ||
720 | * mi-cmd-break.c, mi-cmd-disas.c, mi-cmd-stack.c, mi-cmd-var.c, | |
721 | mi-cmds.c, mi-cmds.h, mi-console.c, mi-console.h, mi-getopt.c, | |
722 | mi-getopt.h, mi-main.c, mi-out.c, mi-out.h, mi-parse.c, | |
723 | mi-parse.h: Update copyright information. | |
724 | ||
ff844c8d AC |
725 | Wed Feb 23 13:31:16 2000 Andrew Cagney <cagney@b1.cygnus.com> |
726 | ||
727 | * mi-cmd-disas.c (gdb_dis_asm_read_memory): Change LEN to unsigned | |
728 | long. Match ../include/dis-asm.h change. | |
729 | ||
fb40c209 AC |
730 | Wed Feb 23 10:30:55 2000 Andrew Cagney <cagney@b1.cygnus.com> |
731 | ||
732 | * gdbmi.texinfo: Update copyright - FSF. Update version | |
733 | information. | |
734 | ||
735 | mi-cmd-break.c, mi-cmd-disas.c, mi-cmd-stack.c, mi-cmd-var.c, | |
736 | mi-cmds.h, mi-main.c, mi-parse.c, mi-parse.h: Re-format using GNU | |
737 | indent. | |
738 | ||
739 | 2000-02-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
740 | ||
741 | * mi-main.c: Add include of gdbcore.h for write_memory() | |
742 | prototype. | |
743 | ||
744 | 2000-02-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
745 | ||
746 | * mi-cmd-disas.c (mi_cmd_disassemble): Change syntax of | |
747 | command. Now use options. | |
748 | Instead of printing the symbolic address of instructions via | |
749 | print_address_symbolic(), use build_address_symbolic() and format | |
750 | properly for output. | |
751 | (gdb_do_disassmble): Delete. | |
752 | ||
753 | 2000-02-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
754 | ||
755 | * mi-cmd-disas.c (mi_cmd_disassemble): | |
756 | ||
757 | 2000-02-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
758 | ||
759 | * mi-main.c (mi_cmd_data_write_memory): New function. Write a | |
760 | value into target memory. | |
761 | ||
762 | * mi-cmds.h (mi_cmd_data_write_memory): Export. | |
763 | ||
764 | * mi-cmds.c (mi_cmds): Hook up data-write-memory to | |
765 | mi_cmd_data_write_memory(). | |
766 | ||
767 | 2000-02-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
768 | ||
769 | * mi-main.c (mi_cmd_target_download): Correct error message to | |
770 | report right function name. | |
771 | (mi_cmd_target_select): Add doing exec cleanups at end. | |
772 | (mi_cmd_data_read_memory): Correct typo. | |
773 | (mi_cmd_execute): Do not simply free last_async_command, but reset | |
774 | it to NULL as well. | |
775 | (free_and_reset): New function, free the argument and set it to | |
776 | NULL. | |
777 | (mi_cmd_target_select_continuation): Delete prototype. | |
778 | ||
779 | Tue Feb 1 00:17:12 2000 Andrew Cagney <cagney@b1.cygnus.com> | |
780 | ||
781 | * mi-cmd-disas.c, mi-cmds.h, mi-console.c, mi-console.h, | |
782 | mi-main.c, mi-out.c, mi-out.h: Update to reflect rename of | |
783 | gdb-file / GDB_FILE to ui-file / ``struct ui_file''. | |
784 | ||
785 | Mon Jan 31 18:33:28 2000 Andrew Cagney <cagney@b1.cygnus.com> | |
786 | ||
787 | * mi-main.c (mi_command_loop): Delete reference to | |
788 | fputs_unfiltered_hook. | |
789 | ||
790 | 2000-01-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
791 | ||
792 | * mi-cmds.c (mi_cmds): Update entries for | |
793 | mi_cmd_data_list_register_names, | |
794 | mi_cmd_data_list_changed_registers, | |
795 | mi_cmd_data_list_register_values. | |
796 | ||
797 | * mi-cmds.h (mi_cmd_data_list_register_names, | |
798 | mi_cmd_data_list_changed_registers, | |
799 | mi_cmd_data_list_register_values): Update to mi_cmd_argv_ftype. | |
800 | ||
801 | * mi-main.c (mi_cmd_data_list_register_names, | |
802 | mi_cmd_data_list_changed_registers, | |
803 | mi_cmd_data_list_register_values): Update to use argc, argv | |
804 | parameters. | |
805 | ||
806 | 2000-01-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
807 | ||
808 | * mi-main.c (mi_cmd_data_read_memory): Correct the computation of | |
809 | next-row. | |
810 | ||
811 | 2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
812 | ||
813 | * mi-cmd-var.c (mi_cmd_var_create): Test for NULL type. | |
814 | (mi_cmd_var_set_format, mi_cmd_var_show_format, | |
815 | mi_cmd_var_info_num_children, mi_cmd_var_list_children, | |
816 | mi_cmd_var_info_type, mi_cmd_var_info_expression, | |
817 | mi_cmd_var_show_attributes, mi_cmd_var_evaluate_expression, | |
818 | mi_cmd_var_assign, mi_cmd_var_update): Prevent possibility of memory | |
819 | leak on error. | |
820 | ||
821 | 2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
822 | ||
823 | * mi-out.c (mi_field_string): Test for NULL string pointer. | |
824 | ||
825 | 2000-01-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
826 | ||
827 | * mi-cmd-stack.c (mi_cmd_stack_list_frames): Call | |
828 | print_frmae_info() with the correct arguments. | |
829 | ||
830 | * mi-main.c (mi_cmd_exec_return): Call | |
831 | show_and_print_stack_frame() with LOC_AND_ADDRESS, so it does the | |
832 | right thing. Update Copyright. | |
833 | ||
834 | 2000-01-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
835 | ||
836 | * mi-main.c: Move disassemble commands from here. | |
837 | ||
838 | * mi-cmd-disas.c: To here. New file. | |
839 | ||
840 | 2000-01-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
841 | ||
842 | * mi-cmd-stack.c: Remove include of mi-out.h. | |
843 | ||
844 | * mi-main.c (mi_cmd_disassemble): Update function to use argc/argv | |
845 | interface. | |
846 | ||
847 | * mi-cmds.h: Ditto. | |
848 | ||
849 | * mi-cmds.c: Ditto. | |
850 | ||
851 | 2000-01-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
852 | ||
853 | * gdbmi.texinfo: Update stack commands descriptions. | |
854 | Add thread commands descriptions and examples. | |
855 | ||
856 | * mi-main.c (mi_cmd_thread_list_ids): Fix typo. | |
857 | ||
858 | 2000-01-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
859 | ||
860 | * mi-main.c (mi_cmd_thread_list_ids): New function, print a list | |
861 | of currently known threads ids, and the total number of threads. | |
862 | (mi_cmd_thread_select): New function. Switch current thread. | |
863 | ||
864 | * mi-cmds.c (mi_cmds): Implement thread-list-ids by | |
865 | mi_cmd_thread_list_ids, and thread-select by mi_cmd_thread_select. | |
866 | ||
867 | * mi-cmds.h (mi_cmd_thread_select, mi_cmd_thread_list_ids): Export. | |
868 | ||
869 | 2000-01-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
870 | ||
871 | * mi-main.c: Move stack commands from here. | |
872 | ||
873 | * mi-cmd-stack.c: To here. New file. | |
874 | ||
875 | 2000-01-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
876 | ||
877 | * mi-main.c (list_args_or_locals): Add a new paramter, the frame | |
878 | for which to display args or locals. Don't use selected_frame | |
879 | anymore, use the new parameter instead. Return void instead of | |
880 | mi_cmd_result, let callers do so. | |
881 | (mi_cmd_stack_list_args): Change interface. Now accept low and | |
882 | high frame numbers to display args for a range of frames. Without | |
883 | these two, display args for the whole stack. | |
884 | (mi_cmd_stack_list_locals): Adapt to new interface for | |
885 | list_args_or_locals. | |
886 | ||
887 | 2000-01-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
888 | ||
889 | * mi-main.c (mi_cmd_stack_info_depth, mi_cmd_stack_list_args, | |
890 | mi_cmd_stack_list_frames, mi_cmd_stack_list_locals, | |
891 | mi_cmd_stack_select_frame): Change to use argv type of parameters. | |
892 | ||
893 | * mi-cmds.c (mi_cmds): Change stack-info-depth, | |
894 | stack-list-arguments, stack-list-frames, stack-list-locals, | |
895 | stack-select-frame to use argv parameters. | |
896 | ||
897 | * mi-cmds.h (mi_cmd_stack_info_depth, mi_cmd_stack_list_args, | |
898 | mi_cmd_stack_list_frames, mi_cmd_stack_list_locals, | |
899 | mi_cmd_stack_select_frame): Update definitions. | |
900 | ||
901 | Tue Jan 4 12:38:54 2000 Andrew Cagney <cagney@b1.cygnus.com> | |
902 | ||
903 | * mi-main.c (mi_command_loop): Force the MI interface to use seven | |
904 | bit strings. | |
905 | * gdbmi.texinfo: Make it clear that a quoted C string is seven | |
906 | bit. | |
907 | ||
908 | Thu Dec 30 14:15:22 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
909 | ||
910 | * mi-getopt.c (mi_getopt): Rewrite. Allow long options. | |
911 | * mi-getopt.h (struct mi_opt): Declare. | |
912 | (mi_getopt): Update. | |
913 | ||
914 | * mi-main.c (mi_cmd_data_read_memory), mi-cmd-break.c | |
915 | (mi_cmd_break_insert, mi_cmd_break_watch): Update. | |
916 | ||
917 | Wed Dec 29 23:38:35 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
918 | ||
919 | * mi-cmd-break.c (mi_cmd_break_insert): Add support for -c | |
920 | <condition>, -i <ignore-count> and -p <thread>. | |
921 | (breakpoint_notify): New function. | |
922 | (mi_cmd_break_insert): Wrap GDB call with callback hooks so that | |
923 | MI is notified when ever a breakpoint is created. | |
924 | ||
925 | * gdbmi.texinfo: Update. | |
926 | ||
927 | Fri Dec 24 11:23:22 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
928 | ||
929 | * mi-main.c (gdb_do_disassemble): Strip out more useless #ifdef | |
930 | UI_OUTs. | |
931 | ||
932 | 1999-12-23 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
933 | ||
934 | * mi-main.c (gdb_do_disassemble): Fix output. Lines that have no | |
935 | assembly instructions must still be outputted, to keep the source | |
936 | line numbering correct. | |
937 | Remove #ifdef UI_OUT's, they are useless. | |
938 | ||
939 | 1999-12-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
940 | ||
941 | * mi-main.c (gdb_do_disassemble): Don't print a new list in mixed | |
942 | mode, every time. Just do it when we actually encounter a new | |
943 | source line. | |
944 | ||
945 | 1999-12-17 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
946 | ||
947 | * mi-cmd-var.c (mi_cmd_var_list_children): Add test for C++ pseudo | |
948 | variable objects (private, public, protected) as these do not have | |
949 | a type and the -var-list-children operation was dumping core. | |
950 | ||
951 | Fri Dec 17 20:23:33 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
952 | ||
953 | * gdbmi.texinfo: Document recommended syntax for options. | |
954 | ||
955 | * mi-main.c (mi_cmd_data_read_memory): Add support for ``-o | |
956 | <offset>''. | |
957 | * gdbmi.texinfo: Document. | |
958 | ||
959 | Wed Dec 15 17:43:08 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
960 | ||
961 | * mi-getopt.h (mi_getopt): Change optarg to a char pointer. Check | |
962 | optind. | |
963 | * mi-cmd-break.c (mi_cmd_break_insert): Update. | |
964 | ||
965 | * mi-main.c (mi_cmd_data_read_memory): Add fields "next-row-addr", | |
966 | "prev-row-addr", "next-page-addr", "prev-page-addr" and a per row | |
967 | "addr". | |
968 | * gdbmi.texinfo: Update. | |
969 | ||
970 | Wed Dec 15 01:05:40 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
971 | ||
972 | * mi-cmds.h (mi_cmd_result): Add MI_CMD_CAUGHT_ERROR for when the | |
973 | error is caught. | |
974 | ||
975 | * mi-main.c (captured_mi_execute_command): When | |
976 | MI_CMD_CAUGHT_ERROR return 0 rethrowing the eror. | |
977 | ||
978 | 1999-12-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
979 | ||
980 | * mi-cmd-break.c (mi_cmd_break_insert): Remove unused var. | |
981 | ||
982 | * mi-cmd-var.c (mi_cmd_var_update): Remove unused variables. | |
983 | ||
984 | Mon Dec 13 18:43:36 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
985 | ||
986 | * mi-parse.c (mi_parse): Quote the command when printing it. | |
987 | (mi_parse_argv): Fix handling of quoted strings. Was not | |
988 | de-quoting them. | |
989 | (mi_parse_argv): Make static. | |
990 | ||
991 | Mon Dec 13 18:30:03 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
992 | ||
993 | * mi-cmds.h (mi_cmd_break_insert, mi_cmd_break_watch): Change type | |
994 | to mi_cmd_argv_ftype. | |
995 | * mi-cmds.c (mi_cmds): Update. | |
996 | * mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Change | |
997 | to new style of arguments with argc and argv. Parse arguments | |
998 | using mi_getopt. | |
999 | ||
1000 | * mi-cmd-break.c (mi_cmd_break_insert): Wrap body in #ifdef UI_OUT | |
1001 | to avoid non-ui compile problems. | |
1002 | ||
1003 | Mon Dec 13 15:08:36 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1004 | ||
1005 | * mi-getopt.h, mi-getopt.c: New files. Similar to getopt but with | |
1006 | well defined semantics. | |
1007 | ||
1008 | Mon Dec 13 14:22:21 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1009 | ||
1010 | * mi-main.c (mi_cmd_break_insert, mi_cmd_break_watch, enum | |
1011 | wp_type, enum bp_type): Move from here. | |
1012 | * mi-cmd-break.c: To here. New file. | |
1013 | (mi_cmd_break_insert, mi_cmd_break_insert, mi_cmd_break_watch): | |
1014 | Use error to report problems. | |
1015 | ||
1016 | 1999-12-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1017 | ||
1018 | * gdbmi.texinfo: Update description of exec-interrupt. | |
1019 | ||
1020 | * mi-main.c (mi_cmd_exec_interrupt): If the program is not | |
1021 | executing, don't try to interrupt it, but error out instead. Make | |
1022 | sure previous_async_command is not null before duplicating it into | |
1023 | last_async_command. | |
1024 | ||
1025 | * gdbmi.texinfo: Add examples for data-evaluate-expression. | |
1026 | ||
1027 | 1999-12-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1028 | ||
1029 | * mi-cmd-var.c (mi_cmd_var_assign, mi_cmd_var_create, | |
1030 | mi_cmd_var_delete, mi_cmd_var_evaluate_expression, | |
1031 | mi_cmd_var_info_expression, mi_cmd_var_info_num_children, | |
1032 | mi_cmd_var_info_type, mi_cmd_var_list_children, | |
1033 | mi_cmd_var_set_format, mi_cmd_var_show_attributes, | |
1034 | mi_cmd_var_show_format, mi_cmd_var_update): Change to use new | |
1035 | style of arguments with argc and argv. | |
1036 | (next_arg): Delete. | |
1037 | (which_var): Delete. | |
1038 | ||
1039 | * mi-cmds.c (mi_cmds): Update entries for mi_cmd_var_assign, | |
1040 | mi_cmd_var_create, mi_cmd_var_delete, | |
1041 | mi_cmd_var_evaluate_expression, mi_cmd_var_info_expression, | |
1042 | mi_cmd_var_info_num_children, mi_cmd_var_info_type, | |
1043 | mi_cmd_var_list_children, mi_cmd_var_set_format, | |
1044 | mi_cmd_var_show_attributes, mi_cmd_var_show_format, | |
1045 | mi_cmd_var_update. | |
1046 | ||
1047 | * mi-cmds.h (mi_cmd_var_assign, mi_cmd_var_create, | |
1048 | mi_cmd_var_delete, mi_cmd_var_evaluate_expression, | |
1049 | mi_cmd_var_info_expression, mi_cmd_var_info_num_children, | |
1050 | mi_cmd_var_info_type, mi_cmd_var_list_children, | |
1051 | mi_cmd_var_set_format, mi_cmd_var_show_attributes, | |
1052 | mi_cmd_var_show_format, mi_cmd_var_update): Update declarations. | |
1053 | ||
1054 | 1999-12-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1055 | ||
1056 | * gdbmi.texinfo: Comment out -data-assign command. * mi-main.c | |
1057 | (mi_cmd_data_assign): Do not use, comment out. * mi-cmds.h | |
1058 | (mi_cmd_data_assign): Remove. * mi-cmds.c: Remove -data-assign | |
1059 | command from MI interface. | |
1060 | ||
1061 | 1999-12-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1062 | ||
1063 | * mi-parse.c (mi_parse): Add '\n' at end of error messages, so | |
1064 | that prompt comes out on new line. | |
1065 | ||
1066 | * gdbmi.texinfo: Update disassembly command output. | |
1067 | ||
1068 | 1999-12-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1069 | ||
1070 | * mi-main.c (gdb_do_disassemble): Update output for UI_OUT case. | |
1071 | ||
1072 | 1999-12-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1073 | ||
1074 | * gdbmi.texinfo: Update exec-until output, including the reason | |
1075 | for stopping. | |
1076 | ||
1077 | Thu Dec 2 17:17:22 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1078 | ||
1079 | * mi-cmds.c: Include <string.h> for memset. | |
1080 | ||
1081 | 1999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1082 | ||
1083 | * mi-main.c (mi_cmd_exec_return): ifdef the references to | |
1084 | return_command_wrapper(). | |
1085 | ||
1086 | 1999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1087 | ||
1088 | * mi-main.c (mi_cmd_gdb_exit, mi_cmd_exec_interrupt, | |
1089 | mi_cmd_target_select, mi_execute_async_cli_command, | |
1090 | mi_exec_async_cli_cmd_continuation, mi_load_progress): Don't print | |
1091 | last_async_command if it is NULL. | |
1092 | (mi_cmd_exec_return): | |
1093 | ||
1094 | 1999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1095 | ||
1096 | * mi-main.c (mi_cmd_exec_return): Reimplement using | |
1097 | return_command() instead of mi_execute_async_cli_command(). | |
1098 | ||
1099 | 1999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1100 | ||
1101 | * mi-cmds.h: Export mi_cmd_data_assign and | |
1102 | mi_cmd_data_evaluate_expression. | |
1103 | ||
1104 | * mi-cmds.c (mi_cmds): Hook data-assign to mi_cmd_data_assign and | |
1105 | data-evaluate-expression to mi_cmd_data_evaluate_expression. | |
1106 | ||
1107 | * mi-main.c (mi_cmd_data_assign): New function. Implement | |
1108 | data-assign command. | |
1109 | (mi_cmd_data_evaluate_expression): New function. Implement | |
1110 | data-evaluate-expression command. | |
1111 | ||
1112 | 1999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1113 | ||
1114 | * gdbmi.texinfo: Fix some texinfo formatting errors. | |
1115 | ||
1116 | 1999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1117 | ||
1118 | * gdbmi.texinfo: Update data-list-register-values description. | |
1119 | ||
1120 | * mi-cmds.h: Export mi_cmd_data_list_register_values. | |
1121 | ||
1122 | * mi-cmds.c (mi_cmds): Hook data-list-register-values to | |
1123 | mi_cmd_data_list_register_values. | |
1124 | ||
1125 | * mi-main.c (mi_cmd_data_list_register_values): New | |
1126 | function. Implements the -data-list-register-values command. | |
1127 | (get_register): New function. Output the contents of a given | |
1128 | register. | |
1129 | ||
1130 | Wed Dec 1 20:27:22 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1131 | ||
1132 | * mi-main.c (mi_execute_async_cli_command): Append missing "\n" | |
1133 | for synchronous stopped message. | |
1134 | ||
1135 | 1999-11-30 James Ingham <jingham@leda.cygnus.com> | |
1136 | ||
1137 | * gdbmi.texinfo: Fix obvious typo in @end statement. | |
1138 | ||
1139 | Wed Dec 1 12:36:27 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1140 | ||
1141 | * mi-cmd-var.c: Include "value.h". | |
1142 | * mi-console.c: Include <string.h>. | |
1143 | ||
1144 | Wed Dec 1 00:21:03 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1145 | ||
1146 | * mi-main.c (captured_mi_execute_command): For a CLI command, pass | |
1147 | "%s" to mi_execute_cli_command to stop core dumps. | |
1148 | (captured_mi_execute_command): Echo CLI commands on gdb_stdlog. | |
1149 | ||
1150 | Wed Dec 1 00:10:07 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1151 | ||
1152 | * gdbmi.texinfo: Explain NR-BYTES and ADDR. | |
1153 | ||
1154 | Tue Nov 30 23:31:57 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1155 | ||
1156 | * mi-cmd-var.c (mi_cmd_var_create, mi_cmd_var_delete, | |
1157 | mi_cmd_var_set_format, mi_cmd_var_show_format, | |
1158 | mi_cmd_var_info_num_children, mi_cmd_var_list_children, | |
1159 | mi_cmd_var_info_type, mi_cmd_var_info_expression, | |
1160 | mi_cmd_var_show_attributes, mi_cmd_var_evaluate_expression, | |
1161 | mi_cmd_var_assign, mi_cmd_var_update, varobj_update_one, next_arg, | |
1162 | which_var): New file. Move varobj commands to here from | |
1163 | mi-main.c. | |
1164 | ||
1165 | * mi-console.h, mi-console.c (mi_console_file_new, | |
1166 | mi_console_file_delete, mi_console_file_fputs, | |
1167 | mi_console_raw_packet, mi_console_file_flush): New files. Move | |
1168 | mi_console_file to here from mi-main.c. | |
1169 | ||
1170 | Tue Nov 30 19:37:25 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1171 | ||
1172 | * mi-main.c (captured_mi_execute_command): Use fputstr_unfiltered | |
1173 | when printing error messages. | |
1174 | (mi_cmd_execute): Ditto. | |
1175 | ||
1176 | 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1177 | ||
1178 | * gdbmi.texinfo: Describe -data-list-changed-registers, | |
1179 | -data-list-register-names. Add examples for | |
1180 | -exec-next-instruction, exec-step-instruction, -exec-run, | |
1181 | -exec-until. Format examples for -data-read-memory. | |
1182 | update example for -target-download. | |
1183 | ||
1184 | 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1185 | ||
1186 | * gdbmi.texinfo: Remove mentioning of inaccurate watchpoint hit | |
1187 | count. | |
1188 | ||
1189 | Mon Nov 29 19:28:55 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1190 | ||
1191 | * mi-main.c (mi_execute_async_cli_command): Return ``enum | |
1192 | mi_cmd_cmd_result''. mi_cmd_exec_run, mi_cmd_exec_next, | |
1193 | mi_cmd_exec_step, mi_cmd_exec_step_instruction, | |
1194 | mi_cmd_exec_finish, mi_cmd_exec_until, mi_cmd_exec_return, | |
1195 | mi_cmd_exec_continue): Update call. | |
1196 | (mi_execute_async_cli_command): When target is synchronous, fake | |
1197 | asynchronous behavour (ulgh). Allows tests to be run on built-in | |
1198 | simulator and native targets. | |
1199 | ||
1200 | Mon Nov 29 15:15:16 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1201 | ||
1202 | * mi-cmds.h (mi_cmd_gdb_exit), mi-cmds.c (mi_cmds), mi-main.c | |
1203 | (mi_cmd_gdb_exit): Change function signature to mi_cmd_argv_ftype. | |
1204 | ||
1205 | 1999-11-28 Andew Cagney <cagney@rat-in-a-hat.cygnus.com> | |
1206 | ||
1207 | * mi-parse.c: Include <ctype.h> and <string.h> | |
1208 | ||
1209 | 1999-11-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1210 | ||
1211 | * gdbmi.texinfo: Added watchpoint command descriptions and | |
1212 | examples. | |
1213 | ||
1214 | * mi-main.c (mi_load_progress): Add parameter for total sent so far. | |
1215 | Print it as well. | |
1216 | ||
1217 | Fri Nov 26 10:17:49 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1218 | ||
1219 | * gdbmi.texinfo (section Output Syntax): For lists, the <string> | |
1220 | part of a <result> is optional. Clarify syntax. | |
1221 | (appendix Proposed v2.0 Output Syntax): New section. Provide | |
1222 | record of discussion of possible changes to syntax. | |
1223 | ||
1224 | Wed Nov 24 19:41:35 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1225 | ||
1226 | * mi-main.c (mi_cmd_data_read_memory): Simplify. Fix coredump | |
1227 | when arguments were bad. | |
1228 | (mi_cmd_execute): Change parameter to ``struct mi_parse''. Handle | |
1229 | case of argv_func as well as args_func. | |
1230 | (captured_mi_execute_command): Update. | |
1231 | ||
1232 | * mi-cmds.c (struct mi_cmd): Add field for mi_cmd_argv_ftype. | |
1233 | (mi_cmds): Update mi_cmd_data_read_memory. | |
1234 | (mi_lookup): Return | |
1235 | ||
1236 | * mi-cmds.h (mi_cmd_args_ftype): Rename mi_cmd_ftype. Make all | |
1237 | functions of type this type. | |
1238 | (mi_cmd_argv_ftype): Declare. | |
1239 | (mi_cmd_data_read_memory): Change type to mi_cmd_argv_fytpe. | |
1240 | (struct mi_cmd): Move declaration to here from mi-cmds.c. | |
1241 | (mi_lookup): Return a pointer to ``struct mi_cmd''. | |
1242 | ||
1243 | Wed Nov 24 15:03:34 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1244 | ||
1245 | * mi-parse.c (mi_parse): Initialize TOKEN when a CLI command. | |
1246 | ||
1247 | * gdbmi.texinfo: Allow a <token> before a CLI command. | |
1248 | ||
1249 | * mi-parse.h (struct mi_parse): Declare. | |
1250 | (mi_parse): Change to return a ``struct mi_parse''. | |
1251 | (enum mi_command_type): Delete PARSE_ERROR. | |
1252 | ||
1253 | * mi-main.c (struct mi_execute_command_context): Delete. | |
1254 | (captured_mi_execute_command): Update | |
1255 | (mi_execute_command): Update. Check for mi_parse returning NULL. | |
1256 | ||
1257 | Wed Nov 24 12:57:14 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1258 | ||
1259 | * mi-parse.h: Remove const, from cmd parameter. Causes cascading | |
1260 | warnings. | |
1261 | ||
1262 | Wed Nov 24 15:03:34 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1263 | ||
1264 | * mi-parse.c (mi_parse): New function. Move parse code to here. | |
1265 | * mi-main.c (parse): From here. Delete. | |
1266 | ||
1267 | Wed Nov 24 12:57:14 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1268 | ||
1269 | * mi-parse.c, mi-parse.h: New files. Implement mi_parse_env. | |
1270 | ||
1271 | Wed Nov 24 11:24:05 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1272 | ||
1273 | * mi-out.c (mi_field_string): Make string parameter constant. | |
1274 | ||
1275 | 1999-11-23 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1276 | ||
1277 | * mi-cmds.h (mi_cmd_target_download): Export. | |
1278 | ||
1279 | * mi-cmds.c (mi_cmds): Add mi_cmd_target_download. | |
1280 | ||
1281 | * mi-main.c: Include <sys/time.h>. | |
1282 | (mi_cmd_target_download): New function, implement the | |
1283 | target-download command. | |
1284 | (mi_load_progress): New function. Called via the | |
1285 | show_load_progress hook. Prints updates every 0.5 secs. | |
1286 | (mi_command_loop): Initialize the show_load_progress hook. | |
1287 | ||
1288 | 1999-11-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1289 | ||
1290 | * mi-main.c (mi_cmd_exec_until): New function. Implement until | |
1291 | command. | |
1292 | (mi_cmd_exec_step_instruction): New function. Implement stepi | |
1293 | command. | |
1294 | (mi_cmd_exec_next_instruction): New function. Implement nexti | |
1295 | command. | |
1296 | ||
1297 | * mi-cmds.c (mi_cmds): Add mi_cmd_exec_step_instruction, | |
1298 | mi_cmd_exec_next_instruction, mi_cmd_exec_until. | |
1299 | ||
1300 | * mi-cmds.h (mi_cmd_exec_step_instruction, | |
1301 | mi_cmd_exec_next_instruction, mi_cmd_exec_until): Export. | |
1302 | ||
1303 | Tue Nov 23 00:30:37 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1304 | ||
1305 | * mi/gdbmi.texinfo: Document -data-read-memory. | |
1306 | ||
1307 | * mi-main.c (mi_cmd_data_read_memory): Fix off-by-one check of | |
1308 | argc. | |
1309 | (mi_cmd_data_read_memory): Label the output table with "memory". | |
1310 | ||
1311 | Thu Nov 18 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1312 | ||
1313 | * mi-main.c (mi_cmd_exec_interrupt, mi_cmd_break_insert, | |
1314 | mi_cmd_break_watch, mi_cmd_disassemble, mi_cmd_execute): Replace | |
1315 | strdup with xstrdup. | |
1316 | ||
1317 | Thu Nov 18 20:50:09 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1318 | ||
1319 | * mi-main.c (mi_cmd_data_read_memory): New function. Implement | |
1320 | data-read-memory. | |
1321 | ||
1322 | * mi-cmds.h, mi-cmds.c: Add mi_cmd_data_read_memory. | |
1323 | * mi-cmds.c (mi_cmds): Ditto. | |
1324 | ||
1325 | 1999-11-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1326 | ||
1327 | * mi-cmds.h (mi_cmd_break_watch): Export. | |
1328 | ||
1329 | * mi-cmds.c (mi_cmds): Hook up break-watch to function | |
1330 | mi_cmd_break_watch. | |
1331 | ||
1332 | * mi-main.c (wp_type): New enumeration for the possible types of | |
1333 | watchpoints. | |
1334 | (mi_cmd_break_watch): New function, implements the break-watch | |
1335 | command. | |
1336 | ||
1337 | 1999-11-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1338 | ||
1339 | * mi-main.c (mi_cmd_break_insert): Handle case in which the command is | |
1340 | just a -break-insert w/o args. | |
1341 | ||
1342 | Fri Nov 12 00:01:52 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1343 | ||
1344 | * mi-out.c (mi_field_string): Always quote the string. | |
1345 | ||
1346 | 1999-11-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1347 | ||
1348 | * mi-cmds.h(mi_cmd_data_list_changed_registers, | |
1349 | mi_cmd_data_list_register_names): Export. | |
1350 | ||
1351 | * mi-cmds.c (mi_cmds): Hook up data-list-changed-registers to | |
1352 | mi_cmd_data_list_changed_registers and data-list-register-names to | |
1353 | mi_cmd_data_list_register_names. | |
1354 | ||
1355 | * mi-main.c (mi_cmd_data_list_changed_registers): New function, | |
1356 | implements the data-list-changed-registers command. | |
1357 | (mi_cmd_data_list_register_names): New function, implements the | |
1358 | data-list-register-names command. | |
1359 | (register_changed_p): New function. Decide whether the register | |
1360 | contents have changed. | |
1361 | (setup_architecture_data): New function. Initialize registers | |
1362 | memory. | |
1363 | (_initialize_mi_main): Call setup_architecture_data(), and | |
1364 | register_gdbarch_swap(). | |
1365 | ||
1366 | Wed Nov 10 18:35:08 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1367 | ||
1368 | * mi-main.c (mi_execute_command): Correctly quote error messages. | |
1369 | ||
1370 | Wed Nov 10 11:05:14 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1371 | ||
1372 | * mi/gdbmi.texinfo: Delete <stream-output>. Replaced by | |
1373 | <c-string>. | |
1374 | ||
1375 | * mi-main.c (mi_console_raw_packet): Always quote console output. | |
1376 | ||
1377 | Tue Nov 9 17:53:05 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1378 | ||
1379 | * mi-main.c (mi_console_file_new), mi-out.c (mi_out_new): Replace | |
1380 | the tui_file with a mem_file. Ya! | |
1381 | ||
1382 | * mi-out.c (do_write): New function, wrapper to gdb_file_write. | |
1383 | (mi_out_put): Pass do_write to gdb_file_put. | |
1384 | ||
1385 | * mi-main.c (mi_console_file_flush): Rewrite. Use | |
1386 | mi_console_raw_packet to send data to the console. | |
1387 | (mi_console_raw_packet): New function. Correctly | |
1388 | create quoted C string packets. | |
1389 | ||
1390 | 1999-11-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1391 | ||
1392 | * mi-cmds.c (mi_cmds): Break-insert is now implemented by | |
1393 | mi_cmd_break_insert. | |
1394 | * mi-cmds.h (mi_cmd_break_insert): Export. | |
1395 | * mi-main.c (bp_type): New enumeration. | |
1396 | (mi_cmd_break_insert): New function. Implements all flavors of | |
1397 | breakpoint insertion. | |
1398 | ||
1399 | Mon Nov 8 17:49:17 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1400 | ||
1401 | * mi-main.c (mi_console_file_flush): Replace gdb_file_get_strbuf | |
1402 | with tui_file_get_strbuf. | |
1403 | ||
1404 | Fri Nov 5 17:06:07 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1405 | ||
1406 | * mi-main.c (mi_console_file_delete, mi_console_file_fputs, | |
1407 | mi_console_file_flush): Call internal_error instead of error. | |
1408 | ||
1409 | Thu Nov 4 19:53:32 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1410 | ||
1411 | * mi-main.c (captured_mi_execute_command): New function. | |
1412 | (mi_execute_command): Rewrite. Replace SET_TOP_LEVEL() with call | |
1413 | to captured_mi_execute_command via catch_errors. | |
1414 | ||
1415 | Thu Nov 4 20:33:58 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1416 | ||
1417 | * mi-main.c (clean): Delete. | |
1418 | (mi_command_loop): Delete extern declaration of | |
1419 | mi_execute_command. | |
1420 | ||
1421 | 1999-10-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1422 | ||
1423 | * mi-main.c (mi_cmd_stack_select_frame): Conditionalize the body | |
1424 | on UI_OUT, because select_frame_command_wrapper is only defined if | |
1425 | UI_OUT is. | |
1426 | (mi_cmd_exec_interrupt): Conditionalize the body on UI_OUT, | |
1427 | because interrupt_target_command_wrapper is only defined if UI_OUT is. | |
1428 | ||
1429 | * mi-cmds.c (mi_cmds): Implement command exec-interrupt by | |
1430 | mi_cmd_exec_interrupt. | |
1431 | ||
1432 | * mi-main.c (mi_cmd_exec_interrupt): New function. Implements | |
1433 | exec-interrupt command. | |
1434 | (mi_cmd_execute): If the target is running save execution command | |
1435 | token in previous_async_command. If the command is not 'interrupt' | |
1436 | and the target is running, reject it. | |
1437 | (clean): New function. Free the arg and reset it to NULL. | |
1438 | ||
1439 | * mi-cmds.h (mi_cmd_exec_interrupt):Export. | |
1440 | ||
1441 | 1999-10-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1442 | ||
1443 | * mi-cmds.c (mi_cmds): Implement command stack-select-frame by | |
1444 | mi_cmd_stack_select_frame. | |
1445 | ||
1446 | * mi-main.c (mi_cmd_stack_select_frame): New function. Implements | |
1447 | stack-select-frame command. | |
1448 | ||
1449 | * mi-cmds.h (mi_cmd_select_frame):Export. | |
1450 | ||
1451 | 1999-10-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1452 | ||
1453 | * mi-cmds.c (mi_cmds): Implement commands stack-list-locals and | |
1454 | stack-list-arguments by mi_cmd_stack_list_locals and | |
1455 | mi_cmd_stack_list_args. | |
1456 | ||
1457 | * mi-main.c (mi_cmd_stack_list_locals): New function. Implements | |
1458 | stack-list-locals command. | |
1459 | (mi_cmd_stack_list_args): New function. Implements | |
1460 | stack-list-arguments command. | |
1461 | (list_args_or_locals): New function. Do all the work for the | |
1462 | listing of locals or arguments. | |
1463 | ||
1464 | * mi-cmds.h (mi_cmd_stack_list_args,mi_cmd_stack_list_locals) : | |
1465 | Export. | |
1466 | ||
1467 | 1999-10-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1468 | ||
1469 | * mi-cmds.c (mi_cmds): Add new command stack-info-depth. | |
1470 | ||
1471 | * mi-main.c (mi_cmd_stack_info_depth): New function. Implements | |
1472 | the stack-info-depth command. | |
1473 | * mi-cmds.h (mi_cmd_stack_info_depth): Export. | |
1474 | ||
1475 | ||
1476 | 1999-10-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1477 | ||
1478 | * mi-main.c (mi_execute_command): Handle MI_CMD_ERROR case | |
1479 | properly, for command that return error code and don't set | |
1480 | mi_error_message. | |
1481 | ||
1482 | * mi-cmds.c (mi_cmds): Hook stack-list-frames command to | |
1483 | mi_cmd_stack_list_frames function. | |
1484 | * mi-cmds.h (mi_cmd_stack_list_frames): Export. | |
1485 | ||
1486 | * mi-main.c (mi_execute_command): Deal with a return code of | |
1487 | MI_CMD_ERROR from the execution of mi commands. | |
1488 | (mi_error_message): Static string variable, to contain the error | |
1489 | message from mi commands. | |
1490 | (mi_cmd_stack_list_frames): New function. Prints a backtrace. | |
1491 | ||
1492 | 1999-10-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1493 | ||
1494 | * mi-main.c (mi_cmd_disassemble): Handle the new command line | |
1495 | parameter that specifies the number of disassembly lines to be | |
1496 | displayed. | |
1497 | (gdb_do_disassemble): Add new parameter. Count the number of lines | |
1498 | that have been displayed, and stop when limit is reached. | |
1499 | ||
1500 | Wed Oct 13 18:04:13 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1501 | ||
1502 | * mi-main.c (mi_command_loop): Don't initialize ``flush_hook''. | |
1503 | ||
1504 | 1999-10-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1505 | ||
1506 | * mi/gdbmi.texinfo: More reformatting of the grammars. | |
1507 | ||
1508 | 1999-10-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1509 | ||
1510 | * mi/gdbmi.texinfo: More TeX formatting. | |
1511 | ||
1512 | 1999-10-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1513 | ||
1514 | * mi/gdbmi.texinfo: First pass completed. All commands should have | |
1515 | some comments/info. | |
1516 | Escape '@' output special char. | |
1517 | Reformat for TeX. | |
1518 | ||
1519 | 1999-10-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1520 | ||
1521 | * mi/gdbmi.texinfo: Filled in part of file command section, and | |
1522 | stack section. | |
1523 | ||
1524 | 1999-10-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1525 | ||
1526 | * mi/gdbmi.texinfo: Filled in some sections about execution | |
1527 | commands. | |
1528 | ||
1529 | Tue Oct 5 15:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1530 | ||
1531 | * mi-cmds.h: Sort table | |
1532 | * mi-cmds.c: Ditto. | |
1533 | (MI_TABLE_SIZE): Increase to 251. | |
1534 | ||
1535 | 1999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1536 | ||
1537 | * mi-main.c (mi_cmd_var_create, mi_cmd_var_delete): Add missing | |
1538 | cleanups. | |
1539 | ||
1540 | 1999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1541 | ||
1542 | * mi-main.c (next_arg): Returns lenght as well. | |
1543 | (which_var, mi_cmd_var_create, mi_cmd_var_delete, | |
1544 | mi_cmd_var_set_format, mi_cmd_var_update): Do not modify the input | |
1545 | string, use allocated storage instead. | |
1546 | (mi_cmd_var_assign): Adjust call to next_arg() to include new | |
1547 | argument. | |
1548 | ||
1549 | 1999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1550 | ||
1551 | * mi-main.c (mi_execute_command): Fix handling of errors. | |
1552 | ||
1553 | 1999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1554 | ||
1555 | * mi-out.c (mi_out_new): Call tui_sfileopen() instead of | |
1556 | deprecated gdb_file_init_astream(). | |
1557 | * mi-main.c (mi_console_file_new): Ditto. | |
1558 | ||
1559 | Mon Oct 4 15:17:29 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1560 | ||
1561 | * mi-cmds.h: Sort function declarations. | |
1562 | (mi_lookup): Add extern. | |
1563 | ||
1564 | * mi-cmds.c (mi_lookup): Delete dead code. | |
1565 | (build_table): Call internal_error instead of error. | |
1566 | (build_table): Send trace output to gdb_stdlog. | |
1567 | ||
1568 | 1999-10-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1569 | ||
1570 | * mi-main.c (mi_execute_async_cli_command): Don't do the cleanups | |
1571 | if target_executing is null. | |
1572 | ||
1573 | 1999-09-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1574 | ||
1575 | * mi-main.c (async_p): Change var name to event_loop_p. | |
1576 | ||
1577 | Mon Sep 27 15:11:00 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1578 | ||
1579 | * mi-main.c (mi_execute_async_cli_command, mi_execute_command): | |
1580 | Replace target_has_async with function target_can_async_p. | |
1581 | ||
1582 | Sun Sep 26 00:12:52 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1583 | ||
1584 | * mi-main.c (mi_cmd_target_select_continuation): Delete function. | |
1585 | (mi_cmd_target_select): Simplify. target-connect is guarenteed to | |
1586 | be synchronous. | |
1587 | ||
1588 | Sun Sep 26 00:12:52 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1589 | ||
1590 | * mi-cmds.h (mi_cmd_ftype): Replace mi_impl_ftype. | |
1591 | (enum mi_cmd_result): Define. | |
1592 | * mi-cmds.c (struct mi_cmd): Update. | |
1593 | (mi_lookup): Update. | |
1594 | * mi-main.c (mi_cmd_execute): Update. | |
1595 | ||
1596 | * mi-main.c (mi_cmd_gdb_exit, mi_cmd_exec_run, mi_cmd_exec_next, | |
1597 | mi_cmd_exec_step, mi_cmd_target_select, mi_cmd_exec_continue, | |
1598 | mi_cmd_exec_return, mi_cmd_exec_finish, mi_cmd_disassemble, | |
1599 | mi_cmd_var_create, mi_cmd_var_delete, mi_cmd_var_set_format, | |
1600 | mi_cmd_var_show_format, mi_cmd_var_info_num_children, | |
1601 | mi_cmd_var_list_children, mi_cmd_var_info_type, | |
1602 | mi_cmd_var_info_expression, mi_cmd_var_show_attributes, | |
1603 | mi_cmd_var_evaluate_expression, mi_cmd_var_update): Update. | |
1604 | Return MI_CMD_DONE. | |
1605 | ||
1606 | 1999-09-22 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1607 | ||
1608 | * mi-main.c (mi_cmd_var_create): Use paddr() to format address | |
1609 | on trace output. | |
1610 | ||
1611 | 1999-09-21 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1612 | ||
1613 | * mi-main.c (mi_cmd_var_create): Test for varobjdebug before | |
1614 | printing trace and send it to gdb_stdlog. | |
1615 | ||
1616 | Mon Sep 20 13:41:04 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1617 | ||
1618 | * Makefile.in (mi-out.o): Add dependency list. | |
1619 | * mi-out.c: Include "mi-out.h". | |
1620 | ||
1621 | 1999-09-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1622 | ||
1623 | * mi-main.c (_initialize_mi_main): Events on stadin are now | |
1624 | handled by stdin_event_handler. | |
1625 | ||
1626 | 1999-09-17 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1627 | ||
1628 | * mi-cmds.c (mi_cmds): Add var-* commands. | |
1629 | ||
1630 | 1999-09-17 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1631 | ||
1632 | * mi-main.c (mi_cmd_var_create, mi_cmd_var_delete, | |
1633 | mi_cmd_var_set_format, mi_cmd_var_show_format, | |
1634 | mi_cmd_var_info_num_children, mi_cmd_var_list_children, | |
1635 | mi_cmd_var_info_type, mi_cmd_var_info_expression, | |
1636 | mi_cmd_var_show_attributes, mi_cmd_var_evaluate_expression, | |
1637 | mi_cmd_var_assign, mi_cmd_var_update, varobj_update_one, | |
1638 | which_var, next_arg): New functions. Implement the -var-* | |
1639 | commands. | |
1640 | * mi-cmds.h: Add prototypes for the above. | |
1641 | ||
1642 | 1999-09-14 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1643 | ||
1644 | * mi-cmds.c (mi_cmds): Add detach command. | |
1645 | ||
1646 | 1999-09-09 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1647 | ||
1648 | * mi-cmds.c (lookup_table): Fix typo. | |
1649 | ||
1650 | 1999-09-09 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1651 | ||
1652 | * mi-cmds.c (mi_cmds): Fix typo and missing command. | |
1653 | ||
1654 | 1999-09-09 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1655 | ||
1656 | * mi-main.c: Properly align function prototypes. | |
1657 | (mi_cmd_target_select): Proper check for NULL value. | |
1658 | ||
1659 | 1999-09-09 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1660 | ||
1661 | * mi-main.c (mi_execute_async_cli_command): Fix for native targets | |
1662 | that do not have async yet. | |
1663 | ||
1664 | 1999-09-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1665 | ||
1666 | * mi-main.c (mi_cmd_disassemble): Remove unused var. | |
1667 | (gdb_do_disassemble): Ditto. | |
1668 | ||
1669 | 1999-08-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1670 | ||
1671 | * mi-main.c: Replace all the occurrences of 'asynch' in variable | |
1672 | or function names with 'async' to make it consistent with the rest | |
1673 | of gdb. | |
1674 | ||
1675 | Mon Aug 30 18:16:39 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1676 | ||
1677 | * mi-main.c: #include <ctype.h> for isspace(). | |
1678 | ||
1679 | 1999-08-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1680 | ||
1681 | * mi-main.c (gdb_do_disassemble): This function returns void, not | |
1682 | int. | |
1683 | ||
1684 | 1999-08-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1685 | ||
1686 | * mi-main.c (mi_cmd_disassemble): Don't use atoi() on the high | |
1687 | address string, just treat it same as address low. | |
1688 | (gdb_do_disassemble): Parse high_address string before seeing if | |
1689 | it is zero. | |
1690 | ||
1691 | 1999-08-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1692 | ||
1693 | * mi-main.c (mi_cmd_disassemble): New function to produce | |
1694 | disassembly output for mi. | |
1695 | (gdb_dis_asm_read_memory): New function. Read the disassembly from | |
1696 | the executable file, instead of target memory. | |
1697 | (compare_lines): New function. Compare order of disassembly lines. | |
1698 | (gdb_do_disassemble): New function. Do the real job of getting the | |
1699 | assembly code out. | |
1700 | ||
1701 | * mi-cmds.c (mi_cmds): Do data-disassemble mi command via the | |
1702 | mi_cmd_disassemble function. | |
1703 | ||
1704 | * mi-cmds.h: Export new function mi_cmd_disassemble. | |
1705 | ||
1706 | Wed Aug 25 15:58:31 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1707 | ||
1708 | * mi-main.c (mi_command_loop): Remove references to ui-hooks. | |
1709 | ||
1710 | 1999-08-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1711 | ||
1712 | * mi-main.c (mi_execute_asynch_cli_command): Fix the incorrect | |
1713 | usage of strcat(): allocate enough space for the string. | |
1714 | ||
1715 | 1999-08-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1716 | ||
1717 | From Christopher Faylor <cgf@cygnus.com> | |
1718 | * mi-main.c (mi_execute_command): Make sure we flush all the | |
1719 | output after each command. | |
1720 | ||
1721 | 1999-08-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1722 | ||
1723 | * mi-main.c (_initialize_mi_main): Remove casting in call to | |
1724 | add_file_handler. | |
1725 | ||
1726 | Sun Aug 8 17:20:57 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1727 | ||
1728 | * mi-main.c (mi_cmd_target_select, mi_execute_asynch_cli_command): | |
1729 | Replace call to fatal with call to internal_error. | |
1730 | ||
1731 | 1999-07-26 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1732 | ||
1733 | * mi-main.c (mi_cmd_execute): Add return code. | |
1734 | (mi_execute_command): Make appropriate changes when calling the | |
1735 | function mentioned above. | |
1736 | (mi_cmd_gdb_exit, mi_cmd_target_select, | |
1737 | mi_cmd_target_select_continuation, mi_execute_command, | |
1738 | mi_exec_asynch_cli_cmd, mi_exec_asynch_cli_cmd_continuation): | |
1739 | Print token, prefix, class and output (if any) in one single group | |
1740 | of statements. | |
1741 | (mi_execute_command, mi_cmd_execute): Fix error prefix. | |
1742 | (mi_cmd_execute): Use exec cleanup for token. | |
1743 | * mi-out.c (mi_out_rewind): New function. | |
1744 | * mi-out.h: Prototype for the above. | |
1745 | ||
1746 | 1999-07-16 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1747 | ||
1748 | * mi-main.c (mi_cmd_gdb_exit): Use buffer for exit message. | |
1749 | (mi_cmd_execute): Route error messages to correct file. | |
1750 | (mi_execute_asynch_cli_command): Insert line feed after running | |
1751 | message. | |
1752 | ||
1753 | 1999-07-16 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1754 | ||
1755 | * mi-out.h (mi_out_buffered): Add extern declaration. | |
1756 | * mi-out.c (mi_out_buffered): New function. Insert a string at the | |
1757 | current buffer position. | |
1758 | * mi-main.c (mi_cmd_target_select, mi_execute_command, | |
1759 | mi_cmd_execute, mi_execute_asynch_cli_command): Use the above | |
1760 | function instead of printing to raw_stdout. | |
1761 | (mi_cmd_target_select, mi_cmd_target_select_continuation, | |
1762 | mi_execute_command, mi_cmd_execute, mi_execute_cli_command, | |
1763 | mi_exec_asynch_cli_cmd_continuation): Fix handling of token and | |
1764 | prefix. | |
1765 | (mi_execute_cli_command): Remove parameter no longer needed. | |
1766 | ||
1767 | 1999-07-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1768 | ||
1769 | * mi-main.c (mi_cmd_target_select_continuation): Print the numeric | |
1770 | token when we are connected. | |
1771 | (mi_execute_command): Don't print the token now, do it later. | |
1772 | (mi_execute_cli_command): Add a new parameter for the numeric | |
1773 | token. Print the token, the prefix and the class after the | |
1774 | command has executed, not before. | |
1775 | (mi_execute_asynch_cli_command): Don't print an extra blank line. | |
1776 | ||
1777 | 1999-07-15 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1778 | ||
1779 | * mi-main.c (mi_gdb_exit): Add \n at the end. | |
1780 | ||
1781 | 1999-07-15 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1782 | ||
1783 | * mi-main.c (mi_cmd_execute): New function. Dispatch a mi operation. | |
1784 | (mi_execute_command): Use the above. | |
1785 | ||
1786 | 1999-07-15 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1787 | ||
1788 | * mi-main.c: Fix identation. | |
1789 | ||
1790 | 1999-07-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1791 | ||
1792 | * mi-main.c: Include target.h and inferior.h. | |
1793 | (mi_cmd_target_select): New function to execute the target-select | |
1794 | mi operation. | |
1795 | (mi_cmd_target_select_continuation): New function. Continuation | |
1796 | for the target-select operation. | |
1797 | (mi_execute_command): In case of an MI command which requires | |
1798 | asynchronous execution, do not try to display the result now. If | |
1799 | the execution has to look synchronous don't display the "(gdb)" | |
1800 | prompt. | |
1801 | (mi_execute_asynch_cli_command): Invoke real asynchronous | |
1802 | commands, set up exec_cleanups, and continuations. | |
1803 | (mi_exec_asynch_cli_cmd_continuation): New function. Continuation | |
1804 | for all the MI execution commands except 'target-select'. | |
1805 | (mi_execute_command): Handle null commands by exiting gdb, instead | |
1806 | of core dumping. | |
1807 | ||
1808 | * mi-cmds.c (mi_cmds): Hook up -target-select operation to new mi | |
1809 | function. | |
1810 | ||
1811 | * mi-cmds.h (mi_cmd_target_select): Add extern declaration. | |
1812 | ||
1813 | Thu Jul 15 10:31:39 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1814 | ||
1815 | * mi-main.c (struct mi_console_file): Add field ``prefix''. | |
1816 | (mi_console_file_new): Add argument prefix. Initialize prefix | |
1817 | field. | |
1818 | (mi_console_file_flush): Use ``prefix'' instead of "~" as the | |
1819 | prefix string. | |
1820 | (mi_command_loop): Update stream output prefixes. gdb_stdout == | |
1821 | "~", gdb_stderr / gdb_stdlog == "&", gdb_stdtarg == "@". | |
1822 | ||
1823 | 1999-07-13 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1824 | ||
1825 | * mi-main.c (ui_out_data): New field first_header. Fix output when | |
1826 | no breakpoints are found. | |
1827 | (mi_table_begin, mi_table_body, mi_table_header): Test for | |
1828 | first_header. | |
1829 | (mi_table_end): Test for supress_field_separator. | |
1830 | (mi_message): Remove messages from MI output. | |
1831 | ||
1832 | 1999-06-30 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1833 | ||
1834 | * mi-cmds.c (mi_cmds[]): Delete gdb-cli operation. | |
1835 | * mi-main.c (parse): Remove ifdefs for cli commands parsing. | |
1836 | (mi-execute-command): Ditto. | |
1837 | ||
1838 | Mon Jun 28 13:06:52 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1839 | ||
1840 | * mi-out.h: New file. | |
1841 | (mi_out_new, mi_out_put): Move mi specific delcarations to here. | |
1842 | * ui-out.h: From here. | |
1843 | ||
1844 | * mi-main.c: Include "mi-out.h". | |
1845 | ||
1846 | 1999-06-25 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1847 | ||
1848 | * top.c (print_gdb_version): Add the word HEADLESS when output | |
1849 | follows headless format. | |
1850 | (print_command_lines): Fix typo. | |
1851 | ||
1852 | 1999-06-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1853 | ||
1854 | * event-loop.h: Export input_fd. | |
1855 | * mi-main.c (mi_command_loop): Use the event loop if running | |
1856 | asynchronously. | |
1857 | (mi_execute_command_wrapper): New function. | |
1858 | (_initialize_mi-main): Set things up for running asynchronously. | |
1859 | ||
1860 | 1999-06-18 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1861 | ||
1862 | * mi-cmds.c (mi_lookup): Deleted. | |
1863 | (lookup_table): New function. Replaces old mi_lookup() for local | |
1864 | use. | |
1865 | (mi_lookup): New function. External interface for command table | |
1866 | searchs. | |
1867 | (build_table): New definition. | |
1868 | (mi_cmds[]): Add several command implementations and the gdb-cli | |
1869 | special operation. | |
1870 | (mi_cmd_execute): Deleted. | |
1871 | * mi-cmds.h: Add type definition for command implementation | |
1872 | function pointers, add declaration for new implementation | |
1873 | functions and a declaration for mi_lookup(). | |
1874 | * mi-main.c (mi_execute_asynch_cli_command): New | |
1875 | function. Captures code that was repeated for all asynch | |
1876 | operations. | |
1877 | (mi_cmd_exec_*): Use the above new function. | |
1878 | (mi_gdb_cmd_exit): Fix the output, printing something appropriate. | |
1879 | (mi_cmd_exec_finish): New operation implementation function. | |
1880 | (mi_cmd_exec_return): Ditto. | |
1881 | (parse): Prepare to remove cli commands. | |
1882 | (mi_execute_command): Fix the output and change the way mi-cmds is | |
1883 | used. | |
1884 | ||
1885 | 1999-06-18 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1886 | ||
1887 | * mi-out.c (mi_table_begin): Add missing field separator call. | |
1888 | ||
1889 | Thu Jun 17 21:05:40 1999 Fernando Nasser <fnasser@tofu.to.cygnus.com> | |
1890 | ||
1891 | * breakpoint.c (breakpoint_1): Remove space in breakpoint table | |
1892 | id. | |
1893 | (mention): Use ui_out for last new line (forgotten). | |
1894 | ||
1895 | 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1896 | ||
1897 | * mi-main.c (mi_console_file_flush): Prevent prefix printing when | |
1898 | buffer empty; change prefix to '~'. | |
1899 | (mi_cmd_exec_*): Prefix normal output with '^' instead of | |
1900 | ','; remove unwanted new lines before "stopped". | |
1901 | ||
1902 | 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1903 | ||
1904 | * mi-cmds.c (struct mi_cmds): Updated entries for -exec-continue | |
1905 | and exec-next operations. | |
1906 | (mi_cmd_execute): New text for error messages. | |
1907 | * mi-cmds.h: Add declaration for mi_cmd_exec_next and | |
1908 | mi_cmd_exec_continue. | |
1909 | * mi-main.c (mi_cmd_exec_next): New function. Implements exec-next | |
1910 | operation. | |
1911 | (mi_cmd_exec_continue): New function. Implements exec-continue | |
1912 | operation. | |
1913 | (mi_execute_comand): Add missing space to prompt. | |
1914 | (mi_cmd_exec_run): Ditto. | |
1915 | (mi_cmd_exec_step): Ditto. | |
1916 | * mi-out.c (mi_out_new): Add flags argument to ui_out_new call. | |
1917 | (ui_list_end): Reset supress_field_separator flag. | |
1918 | ||
1919 | Sat Jun 12 11:49:10 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1920 | ||
1921 | * mi-cmds.h. mi-cmds.c (exec step): Command implemented by | |
1922 | mi_cmd_exec_step instead of cli call. | |
1923 | * mi-main.c (mi_cmd_exec_step): New function. | |
1924 | ||
1925 | * mi-cmds.h. mi-cmds.c (exec run): Command implemented by | |
1926 | mi_cmd_exec_run instead of cli call. | |
1927 | * mi-main.c (mi_cmd_exec_run): New function. | |
1928 | ||
1929 | * mi-cmds.h. mi-cmds.c (gdb exit): Command implemented by | |
1930 | mi_cmd_gdb_exit instead of quit_force. | |
1931 | * mi-main.c (mi_cmd_gdb_exit): New function. | |
1932 | ||
1933 | Sat Jun 12 11:33:23 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1934 | ||
1935 | * mi-main.c (mi_command_loop): Pass mi_input to | |
1936 | simplified_command_loop. | |
1937 | (mi_input): New function. Calls gdb_readline with no prompt. | |
1938 | ||
1939 | Sat Jun 12 11:19:02 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1940 | ||
1941 | * mi-main.c (mi_console_file_fputs): Re-implement. Use a buffer | |
1942 | to accumulate output. | |
1943 | ||
1944 | * mi-main.c (struct mi_console_file): Add a buffer. | |
1945 | (mi_console_file_new): Create a buffer. | |
1946 | (mi_console_file_flush): New function. | |
1947 | ||
1948 | Sat Jun 12 10:59:39 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1949 | ||
1950 | * mi-cmds.h (raw_stdout): Declare. Will be moved later. | |
1951 | * mi-cmds.c (mi_cmd_execute): Send error messages to RAW stdout. | |
1952 | (mi_cmds): Sort by class. | |
1953 | ||
1954 | * mi-main.c (raw_stdout): Make global. | |
1955 | * mi-main.c: Remove #ifdef UI_OUT. File assumes UI_OUT is | |
1956 | present. | |
1957 | * mi-main.c: Include "gdb_string.h". | |
1958 | (mi_out_put): Delete declaration. | |
1959 | ||
1960 | 1999-06-11 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1961 | ||
1962 | * mi-main.c: Add pre-processor test for UI_OUT. | |
1963 | (mi_execute_command): Add pre-processor test for UI_OUT. | |
1964 | ||
1965 | Fri Jun 11 23:11:41 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1966 | ||
1967 | * mi-main.c (raw_stdout): New variable. | |
1968 | (mi_execute_command): Write mi-out direct to raw_stdout. | |
1969 | (mi_command_loop): Create raw_stdout. Attach gdb_stdout to the | |
1970 | console. | |
1971 | (mi_console_file_fputs, mi_console_file_delete, | |
1972 | mi_console_file_new): New functions. | |
1973 | (struct mi_console_file): Declare. | |
1974 | ||
1975 | Fri Jun 11 18:34:33 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1976 | ||
1977 | * mi-main.c (mi_execute_command): Call mi_out_put to display the | |
1978 | result. | |
1979 | * mi-out.c (mi_out_put): New function. | |
1980 | * ui-out.h (mi_out_put): Add declare. Will move later. | |
1981 | * Makefile.in (mi-cmds.o, mi-main.o): Add dependency on ui-out.h. | |
1982 | ||
1983 | * mi-out.c (mi_field_string, mi_field_fmt, mi_message, mi_flush, | |
1984 | out_field_fmt, list_open, list_close): Replace gdb_stdout with | |
1985 | data->buffer. | |
1986 | (field_separator, list_open, list_close): Add uiout parameter. | |
1987 | (mi_table_begin, mi_table_body, mi_table_end, mi_list_begin, | |
1988 | mi_list_end, mi_field_string, mi_field_fmt, out_field_fmt, | |
1989 | out_field_fmt): Update. | |
1990 | ||
1991 | * mi-out.c (mi_out_new): Initialize supress_field_separator. | |
1992 | (supress_field_separator): Move into mi-out local data object. | |
1993 | (mi_table_begin, mi_list_begin, field_separator): Update. | |
1994 | ||
1995 | Fri Jun 11 16:08:37 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1996 | ||
1997 | * mi-out.c (mi_out_new): New function, replace init_mi_out. | |
1998 | * mi-main.c (mi_command_loop): Call mi_out_new(). | |
1999 | ||
2000 | * ui-out.h (mi_out_new): Add declaration. Will move later. | |
2001 | (mi_ui_out_impl): Delete. | |
2002 | ||
2003 | Wed Jun 9 16:42:16 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2004 | ||
2005 | * mi-main.c: Include "ui-hooks.h". | |
2006 | (mi_init_ui, mi_command_loop): New functions. | |
2007 | (_initialize_mi_main): Install ``mi'' as the interpreter when | |
2008 | selected. | |
2009 | ||
2010 | Mon Jun 7 18:43:43 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2011 | ||
2012 | From Fernando Nasser <fnasser@totem.to.cygnus.com> | |
2013 | * mi-cmds.c (build_table): Clean up error message. | |
2014 | * mi-cmds.c (mi_cmd_execute), mi-main.c (mi_execute_command): Only | |
2015 | print debug information when mi_debug_p. | |
2016 | * mi-cmds.h (mi_debug_p), mi-main.c: Global, control debug messages. | |
2017 | ||
2018 | Thu Jun 3 00:44:52 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2019 | ||
2020 | From Fernando Nasser <fnasser@totem.to.cygnus.com>: | |
2021 | * mi-cmds.c: Add CLI definitions for "exec-arguments", | |
2022 | "exec-next", "gdb-exit", "break-list", "break-info", "exec-step" | |
2023 | and "stack-list-frames" to mi_cmds. | |
2024 | (struct mi_command): Add ``from_tty'' argument to func. | |
2025 | * mi-cmds.h (quit_force): Declare. | |
2026 | ||
2027 | 1999-05-31 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
2028 | ||
2029 | * mi-out.c (mi_table_end): Remove unwanted "\n". | |
2030 | ||
2031 | Thu May 27 14:59:06 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2032 | ||
2033 | * top.c: Include "ui-hooks.h". | |
2034 | (call_interp_loop): Tempoary. Pass mi_execute_command to | |
2035 | simplified_command_loop. Initialize gdb_stdout & gdb_stderr to | |
2036 | stdio gdb_file streams. Force all hooks to null. | |
2037 | ||
2038 | * mi-cmds.h, mi-main.c, mi-cmds.c: New files. | |
2039 | * Makefile.in (SFILES): Add mi-main.c, mi-cmds.c | |
2040 | (COMMON_OBS): Add mi-main.o, mi-cmds.o. | |
2041 | (mi_cmds_h): Define. | |
2042 | ||
2043 | Wed May 26 12:39:49 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2044 | ||
2045 | * top.c (call_interp_loop): Hack. Add extern declaration for | |
2046 | mi_ui_out_impl. | |
2047 | ||
2048 | 1999-05-25 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
2049 | ||
2050 | * mi-out.c: New table syntax. | |
2051 | ||
2052 | Mon May 24 16:16:29 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
2053 | ||
2054 | mi-out.c (_initialize_mi_out): Add external declaration. | |
2055 | ||
2056 | 1999-05-21 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
2057 | ||
2058 | * mi-out.c (mi_table_begin): Added missing parameter. | |
2059 | ||
2060 | 1999-05-21 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
2061 | ||
2062 | * mi-out.c: Changed table markers and added table id. | |
2063 | ||
2064 | 1999-05-21 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
2065 | ||
2066 | * mi-out.c: New file. Implements low-level ui-out primitives for | |
2067 | CLI-based interaction. | |
2068 | ||
2069 | \f | |
2070 | Local Variables: | |
2071 | mode: change-log | |
2072 | left-margin: 8 | |
2073 | fill-column: 74 | |
2074 | version-control: never | |
2075 | End: |