This is the mail archive of the gdb-patches@sourceware.cygnus.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: A patch for gnu-regex


"H . J . Lu" wrote:
> 
> I believe gnu-regex is maintained in glibc 2. I'd like to use the one
> in glibc 2 instead of the one in gdb.

I don't know if there is any more elegant way to handle the linux.mh vs
linuxlibc1.mh distinction (although we should try, instead of making
still more file semi-clones), but you could simplify the source files by
making a gdb_regex.h similar to the other gdb_*.h substitute files, and
put the #if sequence in it.

Stan

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