This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH]: Drop GDB-private regex implementation


> I threatened to do this some time ago.  Nobody objected  [:-)] .

ya!!!!!

> Meanwhile I discovered that two files in cli/ still included
> gnu-regex.h instead of gdb_regex.h.  Attached is the patch actually
> committed.


i'll ari this, any other header files you want added to a list of those 
to not include?

	andrew

> Mark
> 
> 
> Index: ChangeLog
> from  Mark Kettenis  <kettenis@gnu.org>
> 
> 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.
> 
> 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]