summaryrefslogtreecommitdiff
path: root/gdb
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
commit12059c8e9cbee6d9e845b55e1d5ad75b02b3670e (patch)
tree6d1a80ce3539e6d1bc4577de086fa21a0c3795ad /gdb
parent7033c88c5101a0f204a6bf556bf8b6a86ff4b2e9 (diff)
downloadgdb-12059c8e9cbee6d9e845b55e1d5ad75b02b3670e.tar.gz
* 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).
Diffstat (limited to 'gdb')
-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 96aa09ebfee..241afeb5260 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 a36ce57f607..843c05f898b 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 e8563ff5c59..cb54721564e 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". */