aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-01-03 14:10:08 +0000
committerMark Kettenis <kettenis@gnu.org>2003-01-03 14:10:08 +0000
commit8fe84d014901cb627303bb59822928b76d70d58c (patch)
tree47b89472f8165b74e6eda39ea5f8d03e5466895a
parentf0394be6484dacc42dad15586b3bbe5de0f0149b (diff)
downloadgdb-8fe84d014901cb627303bb59822928b76d70d58c.zip
gdb-8fe84d014901cb627303bb59822928b76d70d58c.tar.gz
gdb-8fe84d014901cb627303bb59822928b76d70d58c.tar.bz2
* cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
declaration for `struct re_pattern_buffer' instead. * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/Makefile.in2
-rw-r--r--gdb/cli/cli-decode.h3
3 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 96aa09e..241afeb 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2003-01-03 Mark Kettenis <kettenis@gnu.org>
+
+ * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
+ declaration for `struct re_pattern_buffer' instead.
+ * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
+
2003-01-03 J. Brobecker <brobecker@gnat.com>
* mdebugread.c (parse_symbol): Count until the stEnd matching
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index a36ce57..843c05f 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -717,7 +717,7 @@ xmodem_h = xmodem.h
#
cli_cmds_h = $(srcdir)/cli/cli-cmds.h
-cli_decode_h = $(srcdir)/cli/cli-decode.h $(gdb_regex_h) $(command_h)
+cli_decode_h = $(srcdir)/cli/cli-decode.h $(command_h)
cli_dump_h = $(srcdir)/cli/cli-dump.h
cli_script_h = $(srcdir)/cli/cli-script.h
cli_setshow_h = $(srcdir)/cli/cli-setshow.h
diff --git a/gdb/cli/cli-decode.h b/gdb/cli/cli-decode.h
index e8563ff..cb54721 100644
--- a/gdb/cli/cli-decode.h
+++ b/gdb/cli/cli-decode.h
@@ -19,9 +19,10 @@
#if !defined (CLI_DECODE_H)
#define CLI_DECODE_H 1
-#include "gdb_regex.h" /* Needed by apropos_cmd. */
#include "command.h"
+struct re_pattern_buffer;
+
#if 0
/* FIXME: cagney/2002-03-17: Once cmd_type() has been removed, ``enum
cmd_types'' can be moved from "command.h" to "cli-decode.h". */