aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_regex.h
AgeCommit message (Collapse)AuthorFilesLines
2001-09-01Make GDB use libiberty regex implementation.Mark Kettenis1-5/+7
* 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.
2000-04-042000-04-03 H.J. Lu <hjl@gnu.org>H.J. Lu1-0/+28
* gdb_regex.h: New. Include "regex.h" if USE_INCLUDED_REGEX is defined and <regex.h> otherwise. * irix5-nat.c: Include "gdb_regex.h" instead of "gnu-regex.h". * monitor.c: Likewise. * osfsolib.c: Likewise. * solib.c: Likewise. * source.c: Likewise. * symtab.c: Likewise. * Makefile.in (REGEX): Changed to @REGEX@. (REGEX_CFLAGS): New. (REGEX1): Removed. (ADD_DEPS): Use $(REGEX) instead of $(REGEX1). (INTERNAL_WARN_CFLAGS): Add $(REGEX_CFLAGS). * configure.in (--with-included-regex): New switch. (REGEX): New. Subsstitue @REGEX@ in Makefile.in. (REGEX_CFLAGS): New. Subsstitue @REGEX_CFLAGS@ in Makefile.in. * configure: Regenerated.