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: [commit] updated gnulib from latest git.


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


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