📄 changelog-1998-2003
字号:
* tuiDisassem.c (tuiGetBeginAsmAddress): Use lookup_minimal_symbol to find symbol address.2002-08-25 Stephane Carrez <stcarrez@nerim.fr> * tuiSourceWin.c (tui_display_main): Rename from tuiDisplayMainFunction and use tuiGetBeginAsmAddress. * tuiSourceWin.h (tui_display_main): Declare. * tui.h (tuiDisplayMainFunction): Remove. * tui-hooks.c (tui_new_objfile_hook): Update.2002-08-25 Stephane Carrez <stcarrez@nerim.fr> * tuiSource.h (m_tuiShowSourceAsIs): Remove macro. (tuiShowSourceAsIs): Don't declare.2002-08-25 Stephane Carrez <stcarrez@nerim.fr> * tui-hooks.c (tui_selected_frame_level_changed_hook): Always update the frame position.2002-08-25 Stephane Carrez <stcarrez@nerim.fr> * tuiStack.c (tuiSetLocatorContent): Remove. (tuiUpdateLocatorInfoFromFrame): Remove. (tui_set_locator_info): Allocate the content buffer if necessary. (tui_set_locator_filename): Call tui_set_locator_info directly. (tuiShowFrameInfo): Likewise and use find_pc_line instead of find_pc_symtab.2002-08-25 Stephane Carrez <stcarrez@nerim.fr> * tuiSourceWin.c (tuiDisplayMainFunction): Update to use tuiUpdateLocatorFilename. * tuiStack.c (tuiSetLocatorInfo): Make it static. (tuiSetLocatorContent): Likewise. (tuiUpdateLocatorInfoFromFrame): Likewise. (tuiSwitchFilename): Remove. (tui_set_locator_filename): New function (tui_set_locator_info): Rename from tuiSetLocatorInfo to GNU-ify; use tui_set_locator_filename to record the filename. (tuiUpdateLocatorFilename): Likewise. (tuiUpdateLocatorInfoFromFrame): Update. (tuiSetLocatorContent): Likewise. * tuiStack.h (tuiClearLocatorContent): Don't declare. (tuiSetLocatorInfo, tuiSetLocatorContent): Likewise. (tuiUpdateLocatorInfoFromFrame, tuiSwitchFilename): Likewise.2002-08-25 Stephane Carrez <stcarrez@nerim.fr> * tuiSourceWin.c (tuiSetHasBreakAt): Use filename for breakpoint comparison; cleanup. * tuiSource.c (tuiSetSourceContent): Set window title and filename. * tuiGeneralWin.c (boxWin): Print optional title on top of window. * tuiData.h (TuiSourceInfo): Add filename member. (TuiGenWinInfo): Add title member. * tuiData.c (initGenericPart): Clear title. (freeWindow): Free title and filename; remove unused locals. (initWinInfo): Clear filename. (tuiDelWindow): Free it; remove unused locals.2002-08-25 Stephane Carrez <stcarrez@nerim.fr> * tuiStack.h (tuiGetLocatorFilename): Don't declare. (tuiUpdateLocatorDisplay): Likewise. * tuiStack.c (tuiGetLocatorFilename): Remove. (tuiShowFrameInfo): Use tuiSetLocatorContent and tuiShowLocatorContent instead of tuiUpdateLocatorDisplay. (tuiUpdateLocatorDisplay): Remove.2002-08-25 Stephane Carrez <stcarrez@nerim.fr> * tuiStack.h (tuiClearLocatorDisplay): Don't declare. * tuiStack.c (tuiClearLocatorDisplay): Remove. (tuiShowLocatorContent): Use wclrtoeol to clear end of status line. (tuiUpdateLocatorDisplay): Don't call tuiClearLocatorDisplay.2002-08-25 Stephane Carrez <stcarrez@nerim.fr> * tuiStack.c (tui_get_function_from_frame): Rename from _getFuncNameFromFrame; use print_address_symbolic to get symbolic name of address. (tuiUpdateLocatorInfoFromFrame): Update.2002-08-25 Stephane Carrez <stcarrez@nerim.fr> * tuiRegs.c (tuiDisplayRegistersFrom): Remove unused locals. (_tuiRegisterFormat, _tuiSetSpecialRegsContent): Likewise. (_tuiSetGeneralAndSpecialRegsContent): Likewise. (_tuiSetFloatRegsContent): Likewise. (_tuiRegisterName): Return a const char*. * tuiData.h (_TuiDataElement): Use const char* for name.2002-08-25 Stephane Carrez <stcarrez@nerim.fr> * tuiSourceWin.h (tuiEraseAllSourceContent): Don't declare. (tuiShowAllExecInfosContent): Likewise. * tuiSourceWin.c (tuiEraseAllSourceContent): Remove. (tuiShowAllExecInfosContent): Remove. (tuiAllocSourceBuffer): Remove unused locals.2002-08-25 Stephane Carrez <stcarrez@nerim.fr> * tuiStack.c (tui_update_command): Rename _tuiUpdateLocation_command to follow other gdb's command names; use execute_command; cleanup. (_initialize_tuiStack): Update.2002-08-25 Stephane Carrez <stcarrez@nerim.fr> * tuiWin.h (tui_update_gdb_sizes): Declare.2002-08-24 Stephane Carrez <stcarrez@nerim.fr> * tui.c (strcat_to_buf): Use const char* for source item. (tui_enable): Update the windows if there is a selected frame. * tui.h (strcat_to_buf): Update prototype. (strcat_to_buf_with_fmt): Remove.2002-08-24 Stephane Carrez <stcarrez@nerim.fr> * tuiWin.c (tui_update_gdb_sizes): New function to tell gdb what is the size of command window. (tuiResizeAll): Call it instead of init_page_info. * tui.c (tui_enable): Call it to resize to TUI command window. (tui_disable): Likewise for plain screen.2002-08-24 Stephane Carrez <stcarrez@nerim.fr> * tui.c (tui_enable): Use tuiSetLayout instead of showLayout and use tuiShowFrameInfo instead of tuiSetLocatorContent. * tuiLayout.h (showLayout): Remove. * tuiLayout.c (_showSourceOrDisassemAndCommand): Remove unused locals. (_showSourceDisassemCommand): Likewise. (showLayout): Make it static. (lastLayout): Remove.2002-08-24 Stephane Carrez <stcarrez@nerim.fr> * tuiSourceWin.c (tui_show_source_line): New function. (tuiShowSourceContent): Call it and avoid clearing the window before redrawing it. (tuiClearAllSourceWinsContent): Remove. * tuiSourceWin.h (tuiClearAllSourceWinsContent): Don't declare. * tuiWin.h (tuiClearWinFocus, tuiClearWinFocusFrom): Don't declare. * tuiWin.c (tuiClearWinFocus, tuiClearWinFocusFrom): Remove. (tuiRefreshAll): Don't clear the window. (_makeVisibleWithNewHeight): Don't clear locator line. (tuiResizeAll): Remove unused locals. (_tuiAdjustWinHeights): Likewise. (_makeInvisibleAndSetNewHeight): Likewise. (_newHeightOk): Likewise. * tuiLayout.c (showLayout): Don't clear source windows. (tuiSetLayout): Don't clear the window. (_initAndMakeWin): Likewise for status line. * tuiGeneralWin.c (makeVisible): Don't clear or refresh the window. (makeWindow): Likewise. (tuiClearWin): Remove. * tuiGeneralWin.h (tuiClearWin): Don't declare.2002-08-24 Stephane Carrez <stcarrez@nerim.fr> * tuiSourceWin.c (tuiSrcWinIsDisplayed): Remove. (tuiAsmWinIsDisplayed): Remove. (tuiShowAllSourceWinsContent): Remove. (tuiUpdateOnEnd): Remove. * tuiGeneralWin.c (scrollWinForward): Remove. (scrollWinBackward): Remove. (_winResize): Don't declare. * tui.h (tuiUpdateOnEnd): Don't declare. (vcatch_errors, va_catch_errors): Likewise. * tuiSourceWin.h (tuiUpdateOnEnd): Likewise. (tuiShowAllSourceWinsContent): Likewise. * tuiGeneralWin.h (scrollWinForward): Likewise. (scrollWinBackward): Likewise.2002-08-24 Stephane Carrez <stcarrez@nerim.fr> * tuiRegs.c (_tuiRegisterFormat): Use gdbarch_print_registers_info.2002-08-18 Daniel Jacobowitz <drow@mvista.com> Fix PR gdb/655 * tui.c: Disable <termio.h> include.2002-03-15 Andrew Cagney <ac131313@redhat.com> * tui-out.c (XMALLOC): Delete macro. Update copyright.2002-03-01 Andrew Cagney <ac131313@redhat.com> * tui-hooks.c: Add FIXME to explain true/false problem. Update copyright. * tui.c, tuiCommand.c, tuiData.c, tuiDataWin.c: Ditto. * tuiDisassem.c, tuiGeneralWin.c, tuiIO.c, tuiLayout.c: Ditto. * tuiRegs.c, tuiSource.c, tuiSourceWin.c, tuiStack.c: Ditto. * tuiWin.c: Ditto. 2002-02-08 Daniel Jacobowitz <drow@mvista.com> * tui-hooks.c: Include <curses.h> before "bfd.h". * tui.c: Likewise. * tuiCommand.c: Likewise. * tuiData.c: Likewise. * tuiDataWin.c: Likewise. * tuiDisassem.c: Likewise. * tuiGeneralWin.c: Likewise. * tuiIO.c: Likewise. * tuiLayout.c: Likewise. * tuiRegs.c: Likewise. * tuiSource.c: Likewise. * tuiSourceWin.c: Likewise. * tuiStack.c: Likewise. * tuiWin.c: Likewise.2002-02-01 Andrew Cagney <ac131313@redhat.com> * tuiWin.c (_initialize_tuiWin): Replace NO_FUNCTION with NULL.2001-10-20 Andrew Cagney <ac131313@redhat.com> * tuiDisassem.c: Include "value.h". * tuiSourceWin.c: Ditto.2001-09-28 Tom Tromey <tromey@redhat.com> * tuiLayout.h (tui_set_layout): Don't declare. * tui.h (tui_vAddWinToLayout): Don't declare. (tui_vSetLayoutTo): Likewise. (tui_set_layout): Declare.2001-08-02 Eli Zaretskii <eliz@is.elta.co.il> * tuiSourceWin.c: Use disp_del instead of del. * tuiSource.c: Use disp_del instead of del. * tuiDisassem.c: Use disp_del instead of del.2001-07-31 Stephane Carrez <Stephane.Carrez@worldnet.fr> * tui.c (tui_enable): Remove call to terminal_save_ours(). (tui_disable): Likewise.2001-07-28 Stephane Carrez <Stephane.Carrez@worldnet.fr> * tuiWin.c (_initialize_tuiWin): Use specific tui prefix for set/show configuration variables. (show_tui_cmd): New function. (set_tui_cmd): New function.2001-07-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> * tui-hooks.c: New file, gdb hooks for tui. * tui-out.c: New file, image copied from cli-out.c. (tui_field_int): Identify "line" fields and keep track of them. (tui_field_string): Likewise for "file". (tui_out_new): Use flags = 0 to avoid printing the sources.2001-07-23 Stephane Carrez <Stephane.Carrez@worldnet.fr> * tuiIO.c (tui_cont_sig): Update cursor position on the screen to leave it in the command window. (tui_redisplay_readline): Save cursor position to restore the cursor after we go back from background. * tuiData.h (TuiCommandInfo): Add start_line member.2001-07-23 Stephane Carrez <Stephane.Carrez@worldnet.fr> * tuiStack.c (tuiUpdateLocatorFilename): Use const char*. * tuiStack.h (tuiUpdateLocatorFilename): Update prototype. * tuiWin.c (_initialize_tuiWin): Don't cast table of enum in calls to add_set_enum_cmd. * tui.c (tui_show_source): New function. (tuiGetLowDisassemblyAddress): Use CORE_ADDR for newLow. (tui_switch_mode): Prep or deprep readline terminal; make sure the \n we return does not redo the last command. * tui.h (tui_show_source): Declare. (tui_out_new, tui_install_hooks, tui_remove_hooks): Likewise. (tui_active, tui_initialize_io, tui_initialize_readline): Likewise.2001-07-22 Stephane Carrez <Stephane.Carrez@worldnet.fr> * tuiIO.c (tui_initialize_io): Install tui_cont_sig signal handler if SIGCONT is defined. (tui_cont_sig): New function when SIGCONT is defined. (tui_setup_io): Save tty setting to restore by SIGCONT. 2001-07-22 Stephane Carrez <Stephane.Carrez@worldnet.fr> * tui.h (tui_show_assembly): Declare. (tui_is_window_visible): Declare. * tui.c (tui_show_assembly): New function. (tui_is_window_visible): New function. (tui_get_command_dimension): New function.2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> * tuiWin.c (tuiRefreshAll): Use clearok to force a refresh.2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> * tui-file.c (tui_file_fputs): Use tui_puts.2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> * tuiStack.c (tuiSetLocatorInfo): Cleanup. * tuiStack.h (tuiGetLocatorFilename): Declare. * tuiRegs.h (tuiFirstRegElementNoInLine): Declare. * tuiData.h (addToSourceWindows): Declare.2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> * tui.c (tui_change_windows): New function. (tui_delete_other_windows): New function. (tui_initialize_readline): Bind them to C-X 1 and C-X 2. (tui_enable): Enable the keypad; call tui_update_variables. (strcat_to_buf_with_fmt): Remove.2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> * tui.h: Remove old declarations, add the new ones. * tui.c (tui_switch_mode): New function. (tui_initialize_readline): New function. (tui_enable): New function. (tui_disable): New function. (tuiGetLowDisassemblyAddress): Use CORE_ADDR, cleanup. (tui_vSelectSourceSymtab): Remove. (tuiInitWindows): Remove. (_initialize_tui): Remove. (_tuiReset): Keep but put arround #if 0.2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> * tuiIO.h: Remove old declarations and add the new ones. * tuiIO.c: New management for curses and gdb terminal interactions. (tui_tputs): Remove. (tuiTermSetup, tuiTermUnsetup): Remove, must use normal curses ops. (tuiBufferGetc, tui_vStartNewLines, _updateCommandInfo): Remove. (tui_owns_terminal): Remove. (tui_redisplay_readline): New function. (tui_puts): New function. (tui_prep_terminal): New function. (tui_deprep_terminal): New function. (tui_getc): Rename of tuiGetc, simplify and fix. (tui_setup_io): New function. (tui_initialize_io): New function.2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> * tuiRegs.c (tuiDisplayRegistersFrom): Call touchwin. (_tuiRegisterFormat): Reduce size of format result.2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> * tuiGeneralWin.c (boxWin): Use the tui configuration variables. * tuiWin.h: Declare the new variables. * tuiWin.c (_initialize_tuiWin): Create TUI configuration variables. (tui_update_variables): New function. (translate): New function. (tui_border_kind_enums, tui_border_mode_enums): New tables. (tui_border_mode_translate): New table. (tui_border_kind_translate_*): New tables. (tui_active_border_mode): New variables. (tui_border_*): New variables.2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> * tuiWin.c (_parseScrollingArgs): Fix uninitialized variable. (_makeVisibleWithNewHeight): Use TuiLineOrAddress type. * tuiStack.c (tuiShowFrameInfo): Use TuiLineOrAddress type. (tui_vUpdateLocatorFilename): Remove. * tuiStack.h: Update prototypes. * tuiSourceWin.c (tuiAddrIsDisplayed): New function. (tuiLineIsDisplayed): Split for address and line. (tuiUpdateSourceWindow): Use TuiLineOrAddress type. (tuiUpdateSourceWindowAsIs): Likewise. (tuiUpdateSourceWindowsWithAddr): Likewise. (tuiUpdateSourceWindowsWithLine): Likewise. (tuiHorizontalSourceScroll): Likewise. (tuiSetIsExecPointAt): Likewise. (tuiUpdateOnEnd): Likewise. * tuiSourceWin.h: Update prototypes. * tuiSource.c (tuiVerticalSourceScroll): Use TuiLineOrAddress type. (tuiShowSource): Likewise. (tuiVerticalSourceScroll): Likewise. * tuiSource.h (tuiShowSource): Update prototype. * tuiDisassem.c (tuiSetDisassemContent): Use CORE_ADDR for address. (tuiShowDisassem): Use TuiLineOrAddress type. (tuiShowDisassemAndUpdateSource): Likewise. (tuiVerticalDisassemScroll): Likewise. (tuiShowDisassemAsIs): Remove. * tuiDisassem.h (tuiSetDisassemContent): Update prototype. * tuiData.c (initWinInfo): Use CORE_ADDR for address. (clearWinDetail): Likewise. (displayableWinContentOf): Fix address conversion. (tuiNextWin): Fix crash when the window is not yet created. (partialWinByName): Likewise.2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> * tuiSourceWin.h: Remove unused declarations.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -