aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-07 20:57:02 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-07 20:57:02 +0000
commit6d012f143df40b0870ee1f64940080c1591801a3 (patch)
tree03c02968dd85d7b77298a7c13c9b9878d01ae89e /gdb/tui/tui.h
parent1c80067325ac5c90f84154900ac057780b7869af (diff)
downloadgdb-6d012f143df40b0870ee1f64940080c1591801a3.zip
gdb-6d012f143df40b0870ee1f64940080c1591801a3.tar.gz
gdb-6d012f143df40b0870ee1f64940080c1591801a3.tar.bz2
2004-02-07 Andrew Cagney <cagney@redhat.com>
* tui/tui.h: Do not include <stdarg.h>, <string.h>, and "ansidecl.h". Do not undef "reg" and "chtype". Fix case of fields and variables. * tui/tui-wingeneral.h (m_beVisible): Delete macro. (m_beInvisible): Delete macro. * tui/tui-data.h: Fix case case fields and variables. (m_genWinPtrIsNull): Delete macro. (tui_win_list): Rename winList. (TUI_SRC_WIN): Rename srcWin. (TUI_DISASM_WIN): Rename disassemWin. (TUI_DATA_WIN): Rename dataWin. (TUI_CMD_WIN): Rename cmdWin. (m_genWinPtrNotNull): Delete macro. (m_winPtrIsNull): Delete macro. (m_winPtrNotNull): Delete macro. (tui_win_is_source_type): Replace m_winIsSourceType (tui_win_is_auxillary): Replace m_winIsAuzillary. (tui_win_has_locator): Replace m_hasLocator. (tui_set_win_highlight): Replace m_setWinHighlightOn and m_setWinHighlightOff. * tui/tui-data.c: Update references. (tui_win_is_source_type, tui_set_win_highlight): New functions. (tui_win_has_locator, tui_win_is_auxillary): New functions. * tui/tui-command.c, tui/tui-disasm.c: Update references. * tui/tui-io.c, tui/tui-layout.c, tui/tui-regs.c: Ditto. * tui/tui-regs.h, tui/tui-source.c, tui/tui-stack.c: Ditto. * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto. * tui/tui-winsource.c, tui/tui.c: Ditto.
Diffstat (limited to 'gdb/tui/tui.h')
-rw-r--r--gdb/tui/tui.h20
1 files changed, 5 insertions, 15 deletions
diff --git a/gdb/tui/tui.h b/gdb/tui/tui.h
index d6221b7..9ba1a35 100644
--- a/gdb/tui/tui.h
+++ b/gdb/tui/tui.h
@@ -25,17 +25,6 @@
#ifndef TUI_H
#define TUI_H
-#include <stdarg.h>
-#include <string.h>
-#include "ansidecl.h"
-
-#if defined(reg)
-#undef reg
-#endif
-#if defined(chtype)
-#undef chtype
-#endif
-
struct ui_file;
extern void strcat_to_buf (char *, int, const char *);
@@ -91,13 +80,13 @@ extern void tui_disable (void);
enum tui_key_mode
{
/* Plain command mode to enter gdb commands. */
- tui_command_mode,
+ TUI_COMMAND_MODE,
/* SingleKey mode with some keys bound to gdb commands. */
- tui_single_key_mode,
+ TUI_SINGLE_KEY_MODE,
/* Read/edit one command and return to SingleKey after it's processed. */
- tui_one_command_mode
+ TUI_ONE_COMMAND_MODE
};
extern enum tui_key_mode tui_current_key_mode;
@@ -124,4 +113,5 @@ extern enum tui_status tui_set_layout_for_display_command (const char *name);
/* tui-winsource.c */
extern void tui_update_all_exec_infos (void);
-#endif /* TUI_H */
+#endif
+