This is the mail archive of the
mailing list for the GDB project.
Re: [patch] solib-svr4.c - allow reading linkmap info from core without executable
Pedro Alves wrote:
I was thinking on pushing the elf check a bit down instead,
like the below. However, having now tested this, I see that
this doesn't work in most of the cores I have here (x86_64-linux).
In most cases I see, the segment that would contain the program
headers, as indicated by auxv info, isn't included in the
Idx Name Size VMA LMA File off Algn
6 load1 00000000 0000000000400000 0000000000000000 000008f8 2**0
ALLOC, READONLY, CODE
It is probably not dumped separately in a note, but if it
is a full core, then it should be retrievable.
This is the case I have with Neutrino core files.