[RFA] Fix for failing gdb.base/corefile.exp on Linux
Daniel Jacobowitz
drow@false.org
Thu Jul 17 18:58:00 GMT 2008
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
More information about the Gdb-patches
mailing list