aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-hooks.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-10 19:08:19 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-10 19:08:19 +0000
commit6a83354a43c2dc48a253ee15eb62ccd1a8cd1b48 (patch)
treeebb759b9cd5f1820cb1719a711fc04653840d8c8 /gdb/tui/tui-hooks.h
parent997470efab22c205bacdd7e0b207b53cdae3e936 (diff)
downloadfsf-binutils-gdb-6a83354a43c2dc48a253ee15eb62ccd1a8cd1b48.zip
fsf-binutils-gdb-6a83354a43c2dc48a253ee15eb62ccd1a8cd1b48.tar.gz
fsf-binutils-gdb-6a83354a43c2dc48a253ee15eb62ccd1a8cd1b48.tar.bz2
2004-02-10 Andrew Cagney <cagney@redhat.com>
* defs.h: Do not include "tui.h". * gdb_curses.h: New file. * tui/tui-hooks.h: New file. * tui/tui.h (tui_update_all_exec_infos): Delete declaration. (tui_install_hooks, tui_remove_hooks): Delete declarations. (tui_initialize_io): Delete declaration. (tui_initialize_readline: Delete redundant declaration. (struct tui_point): Delete definition. * tui/tui-data.h (struct tui_point): Define. * cli/cli-decode.c [TUI]: Include "tui/tui.h". * utils.c: Include "tui/tui.h". * tui/tui-data.h: Include "tui/tui.h" and "gdb_curses.h". * printcmd.c [TUI]: Include "tui/tui.h". * cli/cli-cmds.c [TUI]: Include "tui/tui.h". * tui/tui-command.c: Include "gdb_curses.h". * tui/tui.c, tui/tui-winsource.c, tui/tui-wingeneral.c: Ditto. * tui/tui-windata.c, tui/tui-win.c, tui/tui-stack.c: Ditto. * tui/tui-source.c, tui/tui-regs.c, tui/tui-layout.c: Ditto. * tui/tui-io.c, tui/tui-disasm.c, tui/tui-data.c: : Ditto. * tui/tui-hooks.c: Include "tui-hooks.h" and "gdb_curses.h". * Makefile.in: Update all dependencies. (tui_hooks_h, gdb_curses_h): Define. (SUBDIR_TUI_CFLAGS): Remove -I${srcdir}/tui.
Diffstat (limited to 'gdb/tui/tui-hooks.h')
-rw-r--r--gdb/tui/tui-hooks.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/gdb/tui/tui-hooks.h b/gdb/tui/tui-hooks.h
new file mode 100644
index 0000000..fa1137d
--- /dev/null
+++ b/gdb/tui/tui-hooks.h
@@ -0,0 +1,28 @@
+/* External/Public TUI hools header file, for GDB the GNU debugger.
+
+ Copyright 2004 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#ifndef TUI_HOOKS_H
+#define TUI_HOOKS_H
+
+extern void tui_install_hooks (void);
+extern void tui_remove_hooks (void);
+
+#endif