aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui.h
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2001-07-21 19:59:14 +0000
committerStephane Carrez <stcarrez@nerim.fr>2001-07-21 19:59:14 +0000
commit39db33d6029554a081dd7a177ff2b821de089ba8 (patch)
tree5b087ef463c261561b26bd130aa366dc840a6a88 /gdb/tui/tui.h
parenta198b876bbcb08749731caf93957d6b90227cd81 (diff)
downloadgdb-39db33d6029554a081dd7a177ff2b821de089ba8.zip
gdb-39db33d6029554a081dd7a177ff2b821de089ba8.tar.gz
gdb-39db33d6029554a081dd7a177ff2b821de089ba8.tar.bz2
* tui.h: Remove old declarations, add the new ones.
* tui.c (tui_switch_mode): New function. (tui_initialize_readline): New function. (tui_enable): New function. (tui_disable): New function. (tuiGetLowDisassemblyAddress): Use CORE_ADDR, cleanup. (tui_vSelectSourceSymtab): Remove. (tuiInitWindows): Remove. (_initialize_tui): Remove. (_tuiReset): Keep but put arround #if 0.
Diffstat (limited to 'gdb/tui/tui.h')
-rw-r--r--gdb/tui/tui.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/gdb/tui/tui.h b/gdb/tui/tui.h
index e074754..afcbe8a 100644
--- a/gdb/tui/tui.h
+++ b/gdb/tui/tui.h
@@ -90,16 +90,18 @@ TuiPoint, *TuiPointPtr;
/* GENERAL TUI FUNCTIONS */
/* tui.c */
-extern void tuiInit (char *argv0);
-extern void tuiInitWindows (void);
-extern void tuiResetScreen (void);
-extern void tuiCleanUp (void);
-extern void tuiError (char *, int);
-extern void tui_vError (va_list);
extern void tuiFree (char *);
-extern Opaque tuiGetLowDisassemblyAddress (Opaque, Opaque);
-extern Opaque tui_vGetLowDisassemblyAddress (va_list);
-extern void tui_vSelectSourceSymtab (va_list);
+extern CORE_ADDR tuiGetLowDisassemblyAddress (CORE_ADDR, CORE_ADDR);
+
+/* Initialize readline and configure the keymap for the switching
+ key shortcut. */
+extern void tui_initialize_readline (void);
+
+/* Enter in the tui mode (curses). */
+extern void tui_enable (void);
+
+/* Leave the tui mode. */
+extern void tui_disable (void);
/* tuiDataWin.c */
extern void tui_vCheckDataValues (va_list);