This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: A patch for gnu-regex
Hi H.J.,
"H . J . Lu" wrote:
[...]
> > Unfortunatly, I don't think that selecting a pre-installed regexp should
> > be the default. My rationale (As Mark? noted) is that ensuring that a
> > GDB release provides consistent behavour between systems (1) is more
>
> Please remember, we, Linux, want to provide a consistent behavour
> cross the whole system. I think, Cygnus and FSF, haven't got rid of
Well, so do the gdb-maintainers, on all of their platforms :-)
> the idea that you are providing some replacements for some existing
> programs. When you build a Linux system from the source, do you like
> N copies for the same thing everywhere? If I were you, I would want
> everyone to use the master copy.
I think you still don't get the intention of the gdb-maintainers.
They want to be sure, that gdb works, no matter what platform
you run it on. Therefore it's reasonable to write selfcontained
code and not use a system lib that has been proven to cause
errors in the past, but use 'homegrown' code instead. They
want to use this 'homegrown code' on all platforms, because
it is _known_ to work.
But I can understand your concern as well, thus I'd suggest,
you create a patch which enables ./configure --with-native-regex.
People on Linux can then feel free to use this.
Note, I don't speak for the gdb-maintainers. This is just
the impression I got from reading the other mails in this
thread.
Guenther