diff options
author | Mark Kettenis <kettenis@gnu.org> | 2001-09-01 21:38:05 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2001-09-01 21:38:05 +0000 |
commit | f77b92bf112a522955bfff95faf1541738030da9 (patch) | |
tree | b97c70bade8393ff29ba3b6618c740918f245a34 /gdb/cli | |
parent | 524f76c97ebd0fadd977a5ef8b70acccbfa4bbd9 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/cli/cli-cmds.c | 2 | ||||
-rw-r--r-- | gdb/cli/cli-decode.c | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index 19a409b..d2fea6e 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -20,7 +20,7 @@ #include "defs.h" #include "symtab.h" #include <ctype.h> -#include "gnu-regex.h" +#include "gdb_regex.h" #ifdef UI_OUT #include "ui-out.h" |