📄 changelog-1999-2003
字号:
mi_cmd_var_set_format, mi_cmd_var_show_attributes, mi_cmd_var_show_format, mi_cmd_var_update): Update declarations.1999-12-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * gdbmi.texinfo: Comment out -data-assign command. * mi-main.c (mi_cmd_data_assign): Do not use, comment out. * mi-cmds.h (mi_cmd_data_assign): Remove. * mi-cmds.c: Remove -data-assign command from MI interface.1999-12-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-parse.c (mi_parse): Add '\n' at end of error messages, so that prompt comes out on new line. * gdbmi.texinfo: Update disassembly command output.1999-12-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c (gdb_do_disassemble): Update output for UI_OUT case.1999-12-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * gdbmi.texinfo: Update exec-until output, including the reason for stopping.Thu Dec 2 17:17:22 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-cmds.c: Include <string.h> for memset.1999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c (mi_cmd_exec_return): ifdef the references to return_command_wrapper(). 1999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c (mi_cmd_gdb_exit, mi_cmd_exec_interrupt, mi_cmd_target_select, mi_execute_async_cli_command, mi_exec_async_cli_cmd_continuation, mi_load_progress): Don't print last_async_command if it is NULL. (mi_cmd_exec_return): 1999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c (mi_cmd_exec_return): Reimplement using return_command() instead of mi_execute_async_cli_command().1999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-cmds.h: Export mi_cmd_data_assign and mi_cmd_data_evaluate_expression. * mi-cmds.c (mi_cmds): Hook data-assign to mi_cmd_data_assign and data-evaluate-expression to mi_cmd_data_evaluate_expression. * mi-main.c (mi_cmd_data_assign): New function. Implement data-assign command. (mi_cmd_data_evaluate_expression): New function. Implement data-evaluate-expression command.1999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * gdbmi.texinfo: Fix some texinfo formatting errors.1999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * gdbmi.texinfo: Update data-list-register-values description. * mi-cmds.h: Export mi_cmd_data_list_register_values. * mi-cmds.c (mi_cmds): Hook data-list-register-values to mi_cmd_data_list_register_values. * mi-main.c (mi_cmd_data_list_register_values): New function. Implements the -data-list-register-values command. (get_register): New function. Output the contents of a given register.Wed Dec 1 20:27:22 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c (mi_execute_async_cli_command): Append missing "\n" for synchronous stopped message.1999-11-30 James Ingham <jingham@leda.cygnus.com> * gdbmi.texinfo: Fix obvious typo in @end statement.Wed Dec 1 12:36:27 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-cmd-var.c: Include "value.h". * mi-console.c: Include <string.h>.Wed Dec 1 00:21:03 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c (captured_mi_execute_command): For a CLI command, pass "%s" to mi_execute_cli_command to stop core dumps. (captured_mi_execute_command): Echo CLI commands on gdb_stdlog.Wed Dec 1 00:10:07 1999 Andrew Cagney <cagney@b1.cygnus.com> * gdbmi.texinfo: Explain NR-BYTES and ADDR.Tue Nov 30 23:31:57 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-cmd-var.c (mi_cmd_var_create, mi_cmd_var_delete, mi_cmd_var_set_format, mi_cmd_var_show_format, mi_cmd_var_info_num_children, mi_cmd_var_list_children, mi_cmd_var_info_type, mi_cmd_var_info_expression, mi_cmd_var_show_attributes, mi_cmd_var_evaluate_expression, mi_cmd_var_assign, mi_cmd_var_update, varobj_update_one, next_arg, which_var): New file. Move varobj commands to here from mi-main.c. * mi-console.h, mi-console.c (mi_console_file_new, mi_console_file_delete, mi_console_file_fputs, mi_console_raw_packet, mi_console_file_flush): New files. Move mi_console_file to here from mi-main.c.Tue Nov 30 19:37:25 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c (captured_mi_execute_command): Use fputstr_unfiltered when printing error messages. (mi_cmd_execute): Ditto.1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * gdbmi.texinfo: Describe -data-list-changed-registers, -data-list-register-names. Add examples for -exec-next-instruction, exec-step-instruction, -exec-run, -exec-until. Format examples for -data-read-memory. update example for -target-download. 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * gdbmi.texinfo: Remove mentioning of inaccurate watchpoint hit count. Mon Nov 29 19:28:55 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c (mi_execute_async_cli_command): Return ``enum mi_cmd_cmd_result''. mi_cmd_exec_run, mi_cmd_exec_next, mi_cmd_exec_step, mi_cmd_exec_step_instruction, mi_cmd_exec_finish, mi_cmd_exec_until, mi_cmd_exec_return, mi_cmd_exec_continue): Update call. (mi_execute_async_cli_command): When target is synchronous, fake asynchronous behavour (ulgh). Allows tests to be run on built-in simulator and native targets.Mon Nov 29 15:15:16 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-cmds.h (mi_cmd_gdb_exit), mi-cmds.c (mi_cmds), mi-main.c (mi_cmd_gdb_exit): Change function signature to mi_cmd_argv_ftype.1999-11-28 Andew Cagney <cagney@rat-in-a-hat.cygnus.com> * mi-parse.c: Include <ctype.h> and <string.h>1999-11-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * gdbmi.texinfo: Added watchpoint command descriptions and examples. * mi-main.c (mi_load_progress): Add parameter for total sent so far. Print it as well. Fri Nov 26 10:17:49 1999 Andrew Cagney <cagney@b1.cygnus.com> * gdbmi.texinfo (section Output Syntax): For lists, the <string> part of a <result> is optional. Clarify syntax. (appendix Proposed v2.0 Output Syntax): New section. Provide record of discussion of possible changes to syntax.Wed Nov 24 19:41:35 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c (mi_cmd_data_read_memory): Simplify. Fix coredump when arguments were bad. (mi_cmd_execute): Change parameter to ``struct mi_parse''. Handle case of argv_func as well as args_func. (captured_mi_execute_command): Update. * mi-cmds.c (struct mi_cmd): Add field for mi_cmd_argv_ftype. (mi_cmds): Update mi_cmd_data_read_memory. (mi_lookup): Return * mi-cmds.h (mi_cmd_args_ftype): Rename mi_cmd_ftype. Make all functions of type this type. (mi_cmd_argv_ftype): Declare. (mi_cmd_data_read_memory): Change type to mi_cmd_argv_fytpe. (struct mi_cmd): Move declaration to here from mi-cmds.c. (mi_lookup): Return a pointer to ``struct mi_cmd''. Wed Nov 24 15:03:34 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-parse.c (mi_parse): Initialize TOKEN when a CLI command. * gdbmi.texinfo: Allow a <token> before a CLI command. * mi-parse.h (struct mi_parse): Declare. (mi_parse): Change to return a ``struct mi_parse''. (enum mi_command_type): Delete PARSE_ERROR. * mi-main.c (struct mi_execute_command_context): Delete. (captured_mi_execute_command): Update (mi_execute_command): Update. Check for mi_parse returning NULL.Wed Nov 24 12:57:14 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-parse.h: Remove const, from cmd parameter. Causes cascading warnings.Wed Nov 24 15:03:34 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-parse.c (mi_parse): New function. Move parse code to here. * mi-main.c (parse): From here. Delete.Wed Nov 24 12:57:14 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-parse.c, mi-parse.h: New files. Implement mi_parse_env.Wed Nov 24 11:24:05 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-out.c (mi_field_string): Make string parameter constant.1999-11-23 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-cmds.h (mi_cmd_target_download): Export. * mi-cmds.c (mi_cmds): Add mi_cmd_target_download. * mi-main.c: Include <sys/time.h>. (mi_cmd_target_download): New function, implement the target-download command. (mi_load_progress): New function. Called via the show_load_progress hook. Prints updates every 0.5 secs. (mi_command_loop): Initialize the show_load_progress hook.1999-11-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c (mi_cmd_exec_until): New function. Implement until command. (mi_cmd_exec_step_instruction): New function. Implement stepi command. (mi_cmd_exec_next_instruction): New function. Implement nexti command. * mi-cmds.c (mi_cmds): Add mi_cmd_exec_step_instruction, mi_cmd_exec_next_instruction, mi_cmd_exec_until. * mi-cmds.h (mi_cmd_exec_step_instruction, mi_cmd_exec_next_instruction, mi_cmd_exec_until): Export. Tue Nov 23 00:30:37 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi/gdbmi.texinfo: Document -data-read-memory. * mi-main.c (mi_cmd_data_read_memory): Fix off-by-one check of argc. (mi_cmd_data_read_memory): Label the output table with "memory".Thu Nov 18 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c (mi_cmd_exec_interrupt, mi_cmd_break_insert, mi_cmd_break_watch, mi_cmd_disassemble, mi_cmd_execute): Replace strdup with xstrdup.Thu Nov 18 20:50:09 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c (mi_cmd_data_read_memory): New function. Implement data-read-memory. * mi-cmds.h, mi-cmds.c: Add mi_cmd_data_read_memory. * mi-cmds.c (mi_cmds): Ditto.1999-11-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-cmds.h (mi_cmd_break_watch): Export. * mi-cmds.c (mi_cmds): Hook up break-watch to function mi_cmd_break_watch. * mi-main.c (wp_type): New enumeration for the possible types of watchpoints. (mi_cmd_break_watch): New function, implements the break-watch command.1999-11-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c (mi_cmd_break_insert): Handle case in which the command is just a -break-insert w/o args.Fri Nov 12 00:01:52 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-out.c (mi_field_string): Always quote the string.1999-11-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-cmds.h(mi_cmd_data_list_changed_registers, mi_cmd_data_list_register_names): Export. * mi-cmds.c (mi_cmds): Hook up data-list-changed-registers to mi_cmd_data_list_changed_registers and data-list-register-names to mi_cmd_data_list_register_names. * mi-main.c (mi_cmd_data_list_changed_registers): New function, implements the data-list-changed-registers command. (mi_cmd_data_list_register_names): New function, implements the data-list-register-names command. (register_changed_p): New function. Decide whether the register contents have changed. (setup_architecture_data): New function. Initialize registers memory. (_initialize_mi_main): Call setup_architecture_data(), and register_gdbarch_swap().Wed Nov 10 18:35:08 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c (mi_execute_command): Correctly quote error messages.Wed Nov 10 11:05:14 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi/gdbmi.texinfo: Delete <stream-output>. Replaced by <c-string>. * mi-main.c (mi_console_raw_packet): Always quote console output.Tue Nov 9 17:53:05 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c (mi_console_file_new), mi-out.c (mi_out_new): Replace the tui_file with a mem_file. Ya! * mi-out.c (do_write): New function, wrapper to gdb_file_write. (mi_out_put): Pass do_write to gdb_file_put. * mi-main.c (mi_console_file_flush): Rewrite. Use mi_console_raw_packet to send data to the console. (mi_console_raw_packet): New function. Correctly create quoted C string packets.1999-11-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-cmds.c (mi_cmds): Break-insert is now implemented by mi_cmd_break_insert. * mi-cmds.h (mi_cmd_break_insert): Export. * mi-main.c (bp_type): New enumeration. (mi_cmd_break_insert): New function. Implements all flavors of breakpoint insertion.Mon Nov 8 17:49:17 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c (mi_console_file_flush): Replace gdb_file_get_strbuf with tui_file_get_strbuf.Fri Nov 5 17:06:07 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c (mi_console_file_delete, mi_console_file_fputs, mi_console_file_flush): Call internal_error instead of error.Thu Nov 4 19:53:32 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c (captured_mi_execute_command): New function. (mi_execute_command): Rewrite. Replace SET_TOP_LEVEL() with call to captured_mi_execute_command via catch_errors.Thu Nov 4 20:33:58 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c (clean): Delete. (mi_command_loop): Delete extern declaration of mi_execute_command.1999-10-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c (mi_cmd_stack_select_frame): Conditionalize the body on UI_OUT, because select_frame_command_wrapper is only defined if UI_OUT is. (mi_cmd_exec_interrupt): Conditionalize the body on UI_OUT, because interrupt_target_command_wrapper is only defined if UI_OUT is. * mi-cmds.c (mi_cmds): Implement command exec-interrupt by mi_cmd_exec_interrupt. * mi-main.c (mi_cmd_exec_interrupt): New function. Implements exec-interrupt command. (mi_cmd_execute): If the target is running save execution command token in previous_async_command. If the command is not 'interrupt'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -