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: [RFA] Fix for failing gdb.base/corefile.exp on Linux


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


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