Re: [PATCH] Implement new `info core mappings' command

Jan Kratochvil
2011-11-09T20:32:07Z

On Tue, 08 Nov 2011 02:48:54 +0100, Sergio Durigan Junior wrote:
> > On Thu, 03 Nov 2011 21:00:39 +0100, Sergio Durigan Junior wrote:
> > For ELF core files you should rather check also the ELF segments in
> > objfiles->obfd and verify it is fully covered.
[...]
> This one is giving me headaches...

I have discovered (a bit late) ABRT already supports dumping /proc/PID/maps
along the core file for a dying process (at least on Fedora 16), together with
many other useful information. While I heard Solaris puts some such info
_into_ the core file I find OK to put it _along_ the core file - in the whole
crash report.

So I understand in some corner cases without ABRT `info core mappings' may be
useful but I no longer find too much interest in it myself and some
approximate file suggestion may be just good enough there. After all the
whole information about where is which file mapped is just an approximate
suggestion by GDB anyway.

Thanks,
Jan