This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Fix for failing gdb.base/corefile.exp on Linux
- From: Daniel Jacobowitz <drow at false dot org>
- To: Paul Pluzhnikov <ppluzhnikov at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 17 Jul 2008 14:58:03 -0400
- Subject: Re: [RFA] Fix for failing gdb.base/corefile.exp on Linux
- References: <20080717183535.CF6C33A67B6@localhost>
On Thu, Jul 17, 2008 at 11:35:35AM -0700, Paul Pluzhnikov wrote:
> Greetings,
>
> (Some?) Linux kernels do not write out unmodified mmaped regions,
> which causes gdb.base/corefile.exp to fail:
>
> Running ../../../src/gdb/testsuite/gdb.base/corefile.exp ...
> FAIL: gdb.base/corefile.exp: accessing mmapped data in core file (mapping address not found in core file)
>
> Attached patch fixes that.
> Ok to commit?
Thanks. The only reason I haven't fixed this so far is that I've
reported it twice to the kernel developers and gotten general
agreement that it's a bug. But they still haven't changed anything.
I've just re-reported it to the kernel.org bugzilla (bug 11110), so it
won't get totally lost. So your patch is OK.
--
Daniel Jacobowitz
CodeSourcery