aboutsummaryrefslogtreecommitdiff
path: root/gdb/completer.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-03-24 00:40:35 +0000
committerAndrew Cagney <cagney@redhat.com>2002-03-24 00:40:35 +0000
commit18a642a148311e89d544b2547d610c07a147feb7 (patch)
tree4cfaeecef1f216d811f62c03a1bd8925dc99fd5a /gdb/completer.c
parentb2875cc0a24d686592709c5b25fba49b53e14d4a (diff)
downloadgdb-18a642a148311e89d544b2547d610c07a147feb7.zip
gdb-18a642a148311e89d544b2547d610c07a147feb7.tar.gz
gdb-18a642a148311e89d544b2547d610c07a147feb7.tar.bz2
* command.h: Update copyright.
(struct cmd_list_element): Replace definition with opaque declaration. (enum cmd_types): Document that it will eventually be moved to cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros. (MALLOCED_REPLACEMENT): Delete macro. * Makefile.in (cli_decode_h): Add $(command_h). (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h). * top.c: Include "cli/cli-decode.h". * completer.c: Include "cli/cli-decode.h". * maint.c: Include "cli/cli-decode.h". * cli/cli-decode.h: Include "command.h". (enum command_class): Delete. (enum cmd_types): Comment out. (enum cmd_auto_boolean): Delete. (enum var_types): Delete.
Diffstat (limited to 'gdb/completer.c')
-rw-r--r--gdb/completer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/completer.c b/gdb/completer.c
index 30a84d6..67ea300 100644
--- a/gdb/completer.c
+++ b/gdb/completer.c
@@ -24,6 +24,8 @@
#include "expression.h"
#include "filenames.h" /* for DOSish file names */
+#include "cli/cli-decode.h"
+
/* FIXME: This is needed because of lookup_cmd_1().
We should be calling a hook instead so we eliminate the CLI dependency. */
#include "gdbcmd.h"