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: [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 core...

(objdump -h)
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.


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