aboutsummaryrefslogtreecommitdiff
path: root/gdb/printcmd.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-23 23:25:17 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-23 23:25:17 +0000
commit080ce8c082fc89e827b6058613e7e7ded5cb1c3f (patch)
treeb635ca5974b6e7697ebcad821eb430182c90d0ea /gdb/printcmd.c
parentb368761e45fa3e27c8433fa421963d6ecf12c34a (diff)
downloadgdb-080ce8c082fc89e827b6058613e7e7ded5cb1c3f.zip
gdb-080ce8c082fc89e827b6058613e7e7ded5cb1c3f.tar.gz
gdb-080ce8c082fc89e827b6058613e7e7ded5cb1c3f.tar.bz2
2004-01-23 Andrew Cagney <cagney@redhat.com>
* printcmd.c (display_command): Replace tui_set_display call with tui_set_layout_for_display_command. * tui/tui.h (enum tui_win_type): Define. (tui_set_layout): Delete declaration. (tui_set_layout_for_display_command): Rename set_tui_layout. * tui/tui-data.h (enum tui_layout_type): Define. * tui/tui-layout.h: Update copyright. Include "tui-data.h" and "tui.h". (tui_add_win_to_layout): Rename tuiAddWinToLayout. (tui_default_win_height): Rename tuiDefaultWinHeight. (tui_default_win_viewport_height): Rename tuiDefaultWinViewportHeight. (tui_set_layout): RenametuiSetLayout. * tui/tui-layout.c: Update references. * tui/tui.c: Update references. * tui/tui-disasm.c: Update references.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r--gdb/printcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index 3c7ad41..0502cf1 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -1356,7 +1356,7 @@ display_command (char *exp, int from_tty)
/* NOTE: cagney/2003-02-13 The `tui_active' was previously
`tui_version'. */
if (tui_active && *exp == '$')
- display_it = (tui_set_layout (exp) == TUI_FAILURE);
+ display_it = (tui_set_layout_for_display_command (exp) == TUI_FAILURE);
#endif
if (display_it)