This is the mail archive of the gdb@sourceware.cygnus.com 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]

Re: Multiple threads in one corefile on Linux--gdb support?


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

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