summaryrefslogtreecommitdiff
path: root/gdb/maint.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
commitc6bd954f2d5991b31d3efae1e42d8571b4da359b (patch)
tree2ec43bd8482ff7e75448e02f00a1f8e6d79b18e2 /gdb/maint.c
parent358a73db249108222599515e1579a8e08111d1e5 (diff)
downloadgdb-c6bd954f2d5991b31d3efae1e42d8571b4da359b.tar.gz
* 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/maint.c')
-rw-r--r--gdb/maint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/maint.c b/gdb/maint.c
index 0d2be0912f5..aaa3c68d1d6 100644
--- a/gdb/maint.c
+++ b/gdb/maint.c
@@ -36,6 +36,8 @@
#include "objfiles.h"
#include "value.h"
+#include "cli/cli-decode.h"
+
extern void _initialize_maint_cmds (void);
static void maintenance_command (char *, int);