This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix GNU/Linux core open: Can't read pathname for load map: Input/output error.
On Tue, May 17, 2011 at 10:08 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> On Tue, 17 May 2011 03:06:11 +0200, Paul Pluzhnikov wrote:
>> I see this all the time, and it causes end-user confusion.
>
> (a)
> The fix should be in glibc and not in gdb but it was rejected in glibc.
In this particular case I believe Ulrich may be correct in rejecting
the patch.
> (b)
> Loading libraries for a core file from the inferior solist stored in the core
> file does not work anyway. ?If you have a crashed application with memory
> corruption commonly the inferior solist is also corrupted,
While it's very possible for solist in the inferior to be corrupted, I've
never actually seen this happen in practice, and I do regularly look at
core dumps.
I wonder what makes corrupt solist in the inferior common for you.
> The right approach is to map symbols for libraries according to their
> build-ids (when available).
But until then, IWBN to not issue a warning in the common case.
--
Paul Pluzhnikov