This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] updated gnulib from latest git.
- From: Frédéric RISS <frederic dot riss at gmail dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 24 May 2010 22:40:10 +0200
- Subject: Re: [commit] updated gnulib from latest git.
- References: <201005230240.12389.pedro@codesourcery.com>
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