📄 changelog-1999-2003
字号:
and the target is running, reject it. (clean): New function. Free the arg and reset it to NULL. * mi-cmds.h (mi_cmd_exec_interrupt):Export.1999-10-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-cmds.c (mi_cmds): Implement command stack-select-frame by mi_cmd_stack_select_frame. * mi-main.c (mi_cmd_stack_select_frame): New function. Implements stack-select-frame command. * mi-cmds.h (mi_cmd_select_frame):Export.1999-10-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-cmds.c (mi_cmds): Implement commands stack-list-locals and stack-list-arguments by mi_cmd_stack_list_locals and mi_cmd_stack_list_args. * mi-main.c (mi_cmd_stack_list_locals): New function. Implements stack-list-locals command. (mi_cmd_stack_list_args): New function. Implements stack-list-arguments command. (list_args_or_locals): New function. Do all the work for the listing of locals or arguments. * mi-cmds.h (mi_cmd_stack_list_args,mi_cmd_stack_list_locals) : Export.1999-10-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-cmds.c (mi_cmds): Add new command stack-info-depth. * mi-main.c (mi_cmd_stack_info_depth): New function. Implements the stack-info-depth command. * mi-cmds.h (mi_cmd_stack_info_depth): Export.1999-10-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c (mi_execute_command): Handle MI_CMD_ERROR case properly, for command that return error code and don't set mi_error_message. * mi-cmds.c (mi_cmds): Hook stack-list-frames command to mi_cmd_stack_list_frames function. * mi-cmds.h (mi_cmd_stack_list_frames): Export. * mi-main.c (mi_execute_command): Deal with a return code of MI_CMD_ERROR from the execution of mi commands. (mi_error_message): Static string variable, to contain the error message from mi commands. (mi_cmd_stack_list_frames): New function. Prints a backtrace.1999-10-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c (mi_cmd_disassemble): Handle the new command line parameter that specifies the number of disassembly lines to be displayed. (gdb_do_disassemble): Add new parameter. Count the number of lines that have been displayed, and stop when limit is reached.Wed Oct 13 18:04:13 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c (mi_command_loop): Don't initialize ``flush_hook''.1999-10-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi/gdbmi.texinfo: More reformatting of the grammars.1999-10-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi/gdbmi.texinfo: More TeX formatting.1999-10-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi/gdbmi.texinfo: First pass completed. All commands should have some comments/info. Escape '@' output special char. Reformat for TeX.1999-10-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi/gdbmi.texinfo: Filled in part of file command section, and stack section.1999-10-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi/gdbmi.texinfo: Filled in some sections about execution commands.Tue Oct 5 15:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-cmds.h: Sort table * mi-cmds.c: Ditto. (MI_TABLE_SIZE): Increase to 251.1999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com> * mi-main.c (mi_cmd_var_create, mi_cmd_var_delete): Add missing cleanups. 1999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com> * mi-main.c (next_arg): Returns lenght as well. (which_var, mi_cmd_var_create, mi_cmd_var_delete, mi_cmd_var_set_format, mi_cmd_var_update): Do not modify the input string, use allocated storage instead. (mi_cmd_var_assign): Adjust call to next_arg() to include new argument.1999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com> * mi-main.c (mi_execute_command): Fix handling of errors.1999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com> * mi-out.c (mi_out_new): Call tui_sfileopen() instead of deprecated gdb_file_init_astream(). * mi-main.c (mi_console_file_new): Ditto.Mon Oct 4 15:17:29 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-cmds.h: Sort function declarations. (mi_lookup): Add extern. * mi-cmds.c (mi_lookup): Delete dead code. (build_table): Call internal_error instead of error. (build_table): Send trace output to gdb_stdlog.1999-10-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c (mi_execute_async_cli_command): Don't do the cleanups if target_executing is null.1999-09-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c (async_p): Change var name to event_loop_p.Mon Sep 27 15:11:00 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c (mi_execute_async_cli_command, mi_execute_command): Replace target_has_async with function target_can_async_p.Sun Sep 26 00:12:52 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c (mi_cmd_target_select_continuation): Delete function. (mi_cmd_target_select): Simplify. target-connect is guarenteed to be synchronous.Sun Sep 26 00:12:52 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-cmds.h (mi_cmd_ftype): Replace mi_impl_ftype. (enum mi_cmd_result): Define. * mi-cmds.c (struct mi_cmd): Update. (mi_lookup): Update. * mi-main.c (mi_cmd_execute): Update. * mi-main.c (mi_cmd_gdb_exit, mi_cmd_exec_run, mi_cmd_exec_next, mi_cmd_exec_step, mi_cmd_target_select, mi_cmd_exec_continue, mi_cmd_exec_return, mi_cmd_exec_finish, mi_cmd_disassemble, 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_update): Update. Return MI_CMD_DONE.1999-09-22 Fernando Nasser <fnasser@totem.to.cygnus.com> * mi-main.c (mi_cmd_var_create): Use paddr() to format address on trace output.1999-09-21 Fernando Nasser <fnasser@totem.to.cygnus.com> * mi-main.c (mi_cmd_var_create): Test for varobjdebug before printing trace and send it to gdb_stdlog.Mon Sep 20 13:41:04 1999 Andrew Cagney <cagney@b1.cygnus.com> * Makefile.in (mi-out.o): Add dependency list. * mi-out.c: Include "mi-out.h".1999-09-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c (_initialize_mi_main): Events on stadin are now handled by stdin_event_handler.1999-09-17 Fernando Nasser <fnasser@totem.to.cygnus.com> * mi-cmds.c (mi_cmds): Add var-* commands.1999-09-17 Fernando Nasser <fnasser@totem.to.cygnus.com> * mi-main.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, which_var, next_arg): New functions. Implement the -var-* commands. * mi-cmds.h: Add prototypes for the above.1999-09-14 Fernando Nasser <fnasser@totem.to.cygnus.com> * mi-cmds.c (mi_cmds): Add detach command.1999-09-09 Fernando Nasser <fnasser@totem.to.cygnus.com> * mi-cmds.c (lookup_table): Fix typo.1999-09-09 Fernando Nasser <fnasser@totem.to.cygnus.com> * mi-cmds.c (mi_cmds): Fix typo and missing command.1999-09-09 Fernando Nasser <fnasser@totem.to.cygnus.com> * mi-main.c: Properly align function prototypes. (mi_cmd_target_select): Proper check for NULL value.1999-09-09 Fernando Nasser <fnasser@totem.to.cygnus.com> * mi-main.c (mi_execute_async_cli_command): Fix for native targets that do not have async yet.1999-09-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c (mi_cmd_disassemble): Remove unused var. (gdb_do_disassemble): Ditto.1999-08-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c: Replace all the occurrences of 'asynch' in variable or function names with 'async' to make it consistent with the rest of gdb.Mon Aug 30 18:16:39 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c: #include <ctype.h> for isspace().1999-08-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c (gdb_do_disassemble): This function returns void, not int.1999-08-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c (mi_cmd_disassemble): Don't use atoi() on the high address string, just treat it same as address low. (gdb_do_disassemble): Parse high_address string before seeing if it is zero.1999-08-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c (mi_cmd_disassemble): New function to produce disassembly output for mi. (gdb_dis_asm_read_memory): New function. Read the disassembly from the executable file, instead of target memory. (compare_lines): New function. Compare order of disassembly lines. (gdb_do_disassemble): New function. Do the real job of getting the assembly code out. * mi-cmds.c (mi_cmds): Do data-disassemble mi command via the mi_cmd_disassemble function. * mi-cmds.h: Export new function mi_cmd_disassemble.Wed Aug 25 15:58:31 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c (mi_command_loop): Remove references to ui-hooks.1999-08-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c (mi_execute_asynch_cli_command): Fix the incorrect usage of strcat(): allocate enough space for the string.1999-08-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com> From Christopher Faylor <cgf@cygnus.com> * mi-main.c (mi_execute_command): Make sure we flush all the output after each command.1999-08-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c (_initialize_mi_main): Remove casting in call to add_file_handler.Sun Aug 8 17:20:57 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c (mi_cmd_target_select, mi_execute_asynch_cli_command): Replace call to fatal with call to internal_error.1999-07-26 Fernando Nasser <fnasser@totem.to.cygnus.com> * mi-main.c (mi_cmd_execute): Add return code. (mi_execute_command): Make appropriate changes when calling the function mentioned above. (mi_cmd_gdb_exit, mi_cmd_target_select, mi_cmd_target_select_continuation, mi_execute_command, mi_exec_asynch_cli_cmd, mi_exec_asynch_cli_cmd_continuation): Print token, prefix, class and output (if any) in one single group of statements. (mi_execute_command, mi_cmd_execute): Fix error prefix. (mi_cmd_execute): Use exec cleanup for token. * mi-out.c (mi_out_rewind): New function. * mi-out.h: Prototype for the above.1999-07-16 Fernando Nasser <fnasser@totem.to.cygnus.com> * mi-main.c (mi_cmd_gdb_exit): Use buffer for exit message. (mi_cmd_execute): Route error messages to correct file. (mi_execute_asynch_cli_command): Insert line feed after running message.1999-07-16 Fernando Nasser <fnasser@totem.to.cygnus.com> * mi-out.h (mi_out_buffered): Add extern declaration. * mi-out.c (mi_out_buffered): New function. Insert a string at the current buffer position. * mi-main.c (mi_cmd_target_select, mi_execute_command, mi_cmd_execute, mi_execute_asynch_cli_command): Use the above function instead of printing to raw_stdout. (mi_cmd_target_select, mi_cmd_target_select_continuation, mi_execute_command, mi_cmd_execute, mi_execute_cli_command, mi_exec_asynch_cli_cmd_continuation): Fix handling of token and prefix. (mi_execute_cli_command): Remove parameter no longer needed.1999-07-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c (mi_cmd_target_select_continuation): Print the numeric token when we are connected. (mi_execute_command): Don't print the token now, do it later. (mi_execute_cli_command): Add a new parameter for the numeric token. Print the token, the prefix and the class after the command has executed, not before. (mi_execute_asynch_cli_command): Don't print an extra blank line.1999-07-15 Fernando Nasser <fnasser@totem.to.cygnus.com> * mi-main.c (mi_gdb_exit): Add \n at the end.1999-07-15 Fernando Nasser <fnasser@totem.to.cygnus.com> * mi-main.c (mi_cmd_execute): New function. Dispatch a mi operation. (mi_execute_command): Use the above.1999-07-15 Fernando Nasser <fnasser@totem.to.cygnus.com> * mi-main.c: Fix identation.1999-07-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * mi-main.c: Include target.h and inferior.h. (mi_cmd_target_select): New function to execute the target-select mi operation. (mi_cmd_target_select_continuation): New function. Continuation for the target-select operation. (mi_execute_command): In case of an MI command which requires asynchronous execution, do not try to display the result now. If the execution has to look synchronous don't display the "(gdb)" prompt. (mi_execute_asynch_cli_command): Invoke real asynchronous commands, set up exec_cleanups, and continuations. (mi_exec_asynch_cli_cmd_continuation): New function. Continuation for all the MI execution commands except 'target-select'. (mi_execute_command): Handle null commands by exiting gdb, instead of core dumping. * mi-cmds.c (mi_cmds): Hook up -target-select operation to new mi function. * mi-cmds.h (mi_cmd_target_select): Add extern declaration.Thu Jul 15 10:31:39 1999 Andrew Cagney <cagney@b1.cygnus.com> * mi-main.c (struct mi_console_file): Add field ``prefix''. (mi_console_file_new): Add argument prefix. Initialize prefix field. (mi_console_file_flush): Use ``prefix'' instead of "~" as the prefix string. (mi_command_loop): Update stream output p
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -