aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-12-18 19:26:29 +0000
committerTom Tromey <tromey@redhat.com>2012-12-18 19:26:29 +0000
commitca7b0bbcfaa938faffc6cfe2ece880b5d0fecdf2 (patch)
tree8adca33fe689a32881f202a9c371f65a7f54773f /gdb/top.c
parent5d3055ad4f759240ae4b865a49f6283d02caf801 (diff)
downloadgdb-ca7b0bbcfaa938faffc6cfe2ece880b5d0fecdf2.zip
gdb-ca7b0bbcfaa938faffc6cfe2ece880b5d0fecdf2.tar.gz
gdb-ca7b0bbcfaa938faffc6cfe2ece880b5d0fecdf2.tar.bz2
* Makefile.in (init.c): Declare initialize_all_files;
don't include call-cmds.h. * call-cmds.h: Remove. * symtab.c: Don't include call-cmds.h. * top.c: Don't include call-cmds.h. Declare initialize_all_files.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/top.c b/gdb/top.c
index f3561e5..bdd625c 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -19,7 +19,6 @@
#include "defs.h"
#include "gdbcmd.h"
-#include "call-cmds.h"
#include "cli/cli-cmds.h"
#include "cli/cli-script.h"
#include "cli/cli-setshow.h"
@@ -65,6 +64,8 @@
#include "ui-out.h"
#include "cli-out.h"
+extern void initialize_all_files (void);
+
#define PROMPT(X) the_prompts.prompt_stack[the_prompts.top + X].prompt
#define PREFIX(X) the_prompts.prompt_stack[the_prompts.top + X].prefix
#define SUFFIX(X) the_prompts.prompt_stack[the_prompts.top + X].suffix