Multiple threads in one corefile on Linux--gdb support?
Kevin Buettner
kevinb@cygnus.com
Tue May 9 12:10:00 GMT 2000
On May 9, 2:56pm, George T. Talbot wrote:
> I've done a kernel patch for Linux which dumps multiple threads into different
> corefiles named core.##### where ##### is the PID. I've been told that the
> ELF format'll support multiple register in a core file by having >1 PT_NOTE
> section.
>
> If I patch the kernel to dump the multiple register sets into a single core,
> will GDB with LinuxThreads support recognize the corefile without
> modification?
No. (Or, at least, I'd be very surprised if it did.)
Using PT_NOTE sections is the right way to do it however. I'd be
willing to help make the necessary gdb modifications if you supply the
kernel patches.
Kevin
More information about the Gdb
mailing list