This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: Multiple threads in one corefile on Linux--gdb support?
- To: "George T. Talbot" <george at moberg dot com>, gdb at sourceware dot cygnus dot com
- Subject: Re: Multiple threads in one corefile on Linux--gdb support?
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Tue, 9 May 2000 12:10:47 -0700
- References: <39185F67.AADD3E76@moberg.com>
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