This is the mail archive of the gdb@sources.redhat.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]
Other format: [Raw text]

Re: Thread signal information


Daniel Jacobowitz wrote:
Does one give up anything by doing a postmortem gdb session
rather than a live session?
From a design perspective, in the corefiles we get each thread's
registers from the kernel; in live debugging we use thread_db.
Given Linux's one-process-one-thread model at present, this has no
practical significance.
... but it might if/when people start using NGPT instead of LinuxThreads.
I suppose I should check to see what that project plans to do about core dumps.

From a convenience perspective, as Andrew said, you lose inferior
function calls.  You can't modify memory.  Etc.
Thanks!
- Dan



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