This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: invoke ACX_LARGEFILE for gdbserver
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 21 Feb 2013 18:15:48 +0100
- Subject: Re: RFC: invoke ACX_LARGEFILE for gdbserver
- References: <87vc9md59v.fsf@fleche.redhat.com>
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