This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: RFC: invoke ACX_LARGEFILE for gdbserver


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


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