diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2002-08-24 15:25:25 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2002-08-24 15:25:25 +0000 |
commit | c7037be10d946a1e11e3e30d7fc82656fa17aa93 (patch) | |
tree | 45c51020d6a9af724a8d9da03a72dd1f9c1e9c77 /gdb/tui/tui.c | |
parent | cd87e7699031fb3d82ac056020b1bf7c8f0aab1f (diff) | |
download | gdb-c7037be10d946a1e11e3e30d7fc82656fa17aa93.zip gdb-c7037be10d946a1e11e3e30d7fc82656fa17aa93.tar.gz gdb-c7037be10d946a1e11e3e30d7fc82656fa17aa93.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/tui/tui.c')
-rw-r--r-- | gdb/tui/tui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c index 6b132b7..33232a5 100644 --- a/gdb/tui/tui.c +++ b/gdb/tui/tui.c @@ -237,8 +237,8 @@ tui_enable (void) setTermWidthTo (COLS); def_prog_mode (); - tuiSetLocatorContent (0); - showLayout (SRC_COMMAND); + tuiShowFrameInfo (0); + tuiSetLayout (SRC_COMMAND, TUI_UNDEFINED_REGS); tuiSetWinFocusTo (srcWin); keypad (cmdWin->generic.handle, TRUE); wrefresh (cmdWin->generic.handle); |