aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tuiLayout.c
AgeCommit message (Collapse)AuthorFilesLines
2002-09-302002-09-29 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-1/+3
* tui.c (tui_show_source): Don't access current_source_symtab, use accessor function instead. Include source.h and symtab.h * tuiDisassem.c (tuiShowDisassemAndUpdateSource, tuiVerticalDisassemScroll): Use accessor functions for current source line and symtab. Include source.h. * tuiLayout.c (_extractDisplayStartAddr): Use accessor functions for current source line and symtab. Include source.h. * tuiWin.c (_makeVisibleWithNewHeight): Ditto. * tuiSourceWin.c (tuiUpdateSourceWindowAsIs, tuiHorizontalSourceScroll): Ditto. * tuiSource.c (tuiVerticalSourceScroll): Ditto.
2002-08-24 * tui.c (tui_enable): Use tuiSetLayout instead of showLayout andStephane Carrez1-18/+3
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 * tuiSourceWin.c (tui_show_source_line): New function.Stephane Carrez1-12/+3
(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-03-01Add FIXME explaining include problem.Andrew Cagney1-2/+12
2002-02-082002-02-08 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-0/+10
* utils.c: Include <curses.h> before "bfd.h". * tui/tui-hooks.c: Likewise. * tui/tui.c: Likewise. * tui/tuiCommand.c: Likewise. * tui/tuiData.c: Likewise. * tui/tuiDataWin.c: Likewise. * tui/tuiDisassem.c: Likewise. * tui/tuiGeneralWin.c: Likewise. * tui/tuiIO.c: Likewise. * tui/tuiLayout.c: Likewise. * tui/tuiRegs.c: Likewise. * tui/tuiSource.c: Likewise. * tui/tuiSourceWin.c: Likewise. * tui/tuiStack.c: Likewise. * tui/tuiWin.c: Likewise.
2001-07-20 * tuiSourceWin.h: Remove unused declarations.Stephane Carrez1-36/+9
* tuiSourceWin.c (tui_vUpdateSourceWindowsWithAddr): Remove. (tui_vUpdateSourceWindowsWithLine): Remove. (tui_vAllSetHasBreakAt): Remove. * tuiLayout.h (tui_set_layout): Declare. (tui_vSetLayoutTo): Remove. (tui_vAddWinToLayout): Remove. * tuiLayout.c (_tuiLayout_command): Call tui_enable() to force TUI. (_tuiToggleLayout_command): Remove. (_tuiToggleSplitLayout_command): Remove. (_tuiLayout_command): Remove. (tui_vSetLayoutTo): Remove. (tui_vAddWinToLayout): Remove. * tuiDataWin.h (tui_vCheckDataValues): Remove. * tuiDataWin.c (tui_vCheckDataValues): Remove.
2001-07-19 * tuiWin.c (_initialize_tuiWin): Always define the tui commands;Stephane Carrez1-14/+9
create the tui class help. * tuiLayout.c (_initialize_tuiLayout): Always define the tui commands. * tuiRegs.c (_initialize_tuiRegs): Likewise. * tuiStack.c (_initialize_tuiStack): Likewise.
2001-07-18 * tuiIO.c (_tuiHandleResizeDuringIO): Call tuiRefreshAll.Stephane Carrez1-30/+10
(tuiRead, tui_vread): Remove. * tui.c (va_catch_errors, tuiDo, tuiDoAndReturnToTop): Remove. (vcatch_errors, _tui_vDo): Remove. * tui.h (tuiDo, tuiDoAndReturnToTop): Remove. * tuiLayout.c (tuiSetLayout): Remove vcatch_errors. (tui_set_layout): Rename of _tuiSetLayoutTo, public. (_tuiToggleLayout_command): Merge with _tui_vToggleLayout_command. (_tuiToggleSplitLayout_command): Merge with _tui_vToggleSplitLayout_command. (_tuiLayout_command): Call tui_set_layout. * tuiRegs.c (_tuiScrollRegsBackward_command): Call tui_scroll. (_tuiScrollRegsForward_command): Likewise. (_tuiShowFloat_command): Call _tui_vShowRegisters_commandSupport. (_tuiShowGeneral_command): Likewise. (_tuiShowSpecial_command): Likewise. (_tuiToggleFloatRegs_command): Call tuiToggleFloatRegs. * tuiWin.c (tui_scroll): Rename of tui_vScroll, update parameters. (_tuiScrollForward_command): Call tui_scroll. (_tuiScrollBackward_command): Likewise. (_tuiScrollLeft_command): Likewise. (_tuiScrollRight_command): Likewise. (_tuiSetFocus_command): Call _tuiSetFocus. (_tuiRefreshAll_command): Call tuiRefreshAll. (_tuiSetWinHeight_command): Call _tuiSetWinHeight. (_tuiXDBsetWinHeight_command): Call _tuiXDBsetWinHeight. * tuiWin.h (tui_scroll): Rename of tui_vScroll, update parameters.
2001-07-18 * tuiData.h (TuiLocatorElement): Use CORE_ADDR for address member.Stephane Carrez1-6/+6
(TuiLineOrAddress): Likewise. * tuiDisassem.c (tuiGetBeginAsmAddress): Use CORE_ADDR to specify an address. (tuiSetDisassemContent): Likewise. (tuiShowDisassem, tuiShowDisassemAndUpdateSource): Likewise. * tuiLayout.c (_extractDisplayStartAddr): Likewise. (tuiSetLayout): Likewise. * tuiSourceWin.c (tuiDisplayMainFunction): Likewise. (tuiUpdateSourceWindowsWithAddr): Likewise. (tuiUpdateSourceWindowsWithLine): Likewise. (tuiSetHasBreakAt): Likewise. * tuiStack.c (tuiSetLocatorInfo): Likewise. (tuiSwitchFilename): Likewise. (tuiUpdateLocatorInfoFromFrame): Likewise. (tuiSetLocatorContent): Likewise. (tuiShowFrameInfo): Likewise. * tuiDisassem.h: Update prototypes to use CORE_ADDR. * tuiSourceWin.h: Likewise. * tuiStack.h: Likewise.
2001-07-17 * tuiWin.c: Add missing includes.Stephane Carrez1-6/+11
(_makeVisibleWithNewHeight): Fix call to find_line_pc. * tuiLayout.c: Add missing includes. (_initAndMakeWin): Don't put curses in echo mode. (_extractDisplayStartAddr): Fix calls to find_line_pc. (_tuiLayout_command): Missing ',' in warning call. * tuiSourceWin.c (tuiUpdateSourceWindowsWithLine): Fix calls to find_line_pc. (tuiSetHasBreakAt): Check for null source file.
2001-07-17 * tuiWin.c (_tuiSetFocus): Replace subsetCompare with subset_compare.Stephane Carrez1-14/+14
* tuiLayout.c (_tuiSetLayoutTo): Likewise. * tui.c (_tui_vToggle_command): Likewise.
2001-07-14 * tuiWin.c, tui.c, tuiCommand.c: Use ansi prototype.Stephane Carrez1-241/+27
tuiIO.c, tuiData.c: Likewise. tuiDataWin.c, tuiDisassem.c: Likewise. tuiGeneralWin.c, tuiLayout.c: Likewise. tuiRegs.c, tuiSource.c: Likewise. tuiSouceWin.c, tuiStack.c: Likewise.
2001-07-14 * tuiWin.c, tuiWin.h, tui.c, tui.h, tuiCommand.c: Add FSF copyright.Stephane Carrez1-5/+20
tuiCommand.h, tuiIO.c, tuiIO.h, tuiData.h, tuiData.c: Likewise. tuiDataWin.c, tuiDataWin.h, tuiDisassem.c, tuiDisassem.h: Likewise. tuiGeneralWin.c, tuiGeneralWin.h, tuiLayout.c, tuiLayout.h: Likewise. tuiRegs.c, tuiRegs.h, tuiSource.c, tuiSource.h: Likewise. tuiSouceWin.c, tuiSourceWin.h, tuiStack.c, tuiStack.h: Likewise.
2000-12-15Replace free() with xfree().Kevin Buettner1-1/+1
2000-07-30Protoization.Kevin Buettner1-1/+1
2000-06-20PARAMS elimination.Kevin Buettner1-10/+5
2000-05-28PARAMS removal.Kevin Buettner1-17/+17
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-109/+109
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+1410
1999-04-16Initial creation of sourceware repositoryStan Shebs1-1410/+0
1998-12-31HP tui support files for gdb.David Taylor1-0/+1410