aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-cmds.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-09-01 21:38:05 +0000
committerMark Kettenis <kettenis@gnu.org>2001-09-01 21:38:05 +0000
commitf77b92bf112a522955bfff95faf1541738030da9 (patch)
treeb97c70bade8393ff29ba3b6618c740918f245a34 /gdb/cli/cli-cmds.c
parent524f76c97ebd0fadd977a5ef8b70acccbfa4bbd9 (diff)
downloadgdb-f77b92bf112a522955bfff95faf1541738030da9.zip
gdb-f77b92bf112a522955bfff95faf1541738030da9.tar.gz
gdb-f77b92bf112a522955bfff95faf1541738030da9.tar.bz2
Make GDB use libiberty regex implementation.
* gdb_regex.h: Normalize protection against multiple inclusion. Include "xregex.h" instead of "gnu-regex.h". * cli/cli-cmds.c: Include "gdb_regex.h" instead of "gnu-regex.h". * cli/cli-decode.c: Likewise. * Makefile.in (REGEX): Remove. (GDB_CFLAGS): Remove reference to gnu-regex.h in comment. (ADD_FILES, ADD_DEPS): Remove $(REGEX). (POSSLIBS): Remove. (TAGFILES_NO_SRCDIR): Remove $(POSSLIBS). (irix5-nat.o, solib.o, solib-svr4.o, source.o, symtab.o, xcoffsolib.o, cli-decode.o, cli-cmd.o): Replace gnu-regex.h with gdb_regex.h in list of dependencies. (gnu-regex.o): Remove rule. * gnu-regex.c, gnu-regex.h: Remove files.
Diffstat (limited to 'gdb/cli/cli-cmds.c')
-rw-r--r--gdb/cli/cli-cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index a82e877..3cf9519 100644
--- a/gdb/cli/cli-cmds.c
+++ b/gdb/cli/cli-cmds.c
@@ -22,7 +22,7 @@
#include "completer.h"
#include "target.h" /* For baud_rate, remote_debug and remote_timeout */
#include "gdb_wait.h" /* For shell escape implementation */
-#include "gnu-regex.h" /* Used by apropos_command */
+#include "gdb_regex.h" /* Used by apropos_command */
#include "filenames.h" /* for DOSish file names */
#ifdef UI_OUT