aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui.h
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/tui/tui.h
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/tui/tui.h')
-rw-r--r--gdb/tui/tui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui.h b/gdb/tui/tui.h
index 03d036d..1aba29e 100644
--- a/gdb/tui/tui.h
+++ b/gdb/tui/tui.h
@@ -64,7 +64,7 @@ extern void strcat_to_buf (char *, int, const char *);
TuiStatus, *TuiStatusPtr;
/* Types of windows */
- typedef enum
+typedef enum tui_win_type
{
SRC_WIN = 0,
DISASSEM_WIN,
@@ -138,7 +138,7 @@ extern void tui_show_source (const char *file, int line);
extern struct ui_out *tui_out_new (struct ui_file *stream);
/* tuiLayout.c */
-extern TuiStatus tui_set_layout (const char *);
+extern enum tui_status tui_set_layout_for_display_command (const char *name);
/* tuiSourceWin.c */
extern void tuiUpdateAllExecInfos (void);