Re: [commit] updated gnulib from latest git.

Frédéric RISS
2010-05-24T20:40:23Z

Hi,

Le dimanche 23 mai 2010 Ã  02:40 +0100, Pedro Alves a Ã©crit :
> Following up from:
>
> <http://sourceware.org/ml/gdb/2010-05/msg00069.html>
>
> I've updated gnulib from latest git.

I don't understand all the specifics, but it seems there is something
broken in this commit. The commit contains the followig hunk in
gdb/config.in:

-/* Number of bits in a file offset, on hosts where this is settable. */
-#undef _FILE_OFFSET_BITS
-

This means that on a 32bits host the GDB part of the tree will get
compiled without large file support, while eg. bfd will be built with
that support. This in turn means that gdb functions that pass 'struct
stat *' to bfd functions will experience memory corruption. I've seen
crashes in sepdebug.exp due to that corruption.

Cheers,
Fred