RFC: invoke ACX_LARGEFILE for gdbserver

Jan Kratochvil jan.kratochvil@redhat.com
Thu Feb 21 17:16:00 GMT 2013


On Wed, 20 Feb 2013 22:50:04 +0100, Tom Tromey wrote:
> This is perhaps not totally ideal, since it ties this to the BFD
> "enable-plugin" option.  On the other hand, this is what gdb does and so
> I chose it in the interests of keeping the two scripts more similar.

gdb does it as it needs to be ABI compatible with BFD.  gdbserver does not
have to, so gdbserver's $enable_largefile does not need to match gdb/bfd.

Additionally config/largefile.m4 contains an exception for Solaris wrt its
procfs.  But gdbserver does not use procfs so far (can gdbserver run on
Solaris? How?) so it is not needed.


> An alternative approach would be to directly invoke AC_SYS_LARGEFILE.

I am not sure how it is with gdbserver and procfs on Solaris but as it does
not seem to be an issue I would be for the more simple AC_SYS_LARGEFILE.


Thanks,
Jan



More information about the Gdb-patches mailing list