Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/gnu/dist/gdb/gdb




On Oct 13, 2004, at 7:27 PM, Bill Studenmund wrote:

On Tue, Oct 12, 2004 at 10:16:34PM +0000, Charles M. Hannum wrote:

Modified Files:
        src/gnu/dist/gdb/gdb: nbsd-thread.c

Log Message:
Two changes for better handling of blocked threads with LWPs:
1) When looking up the active thread, do not convert it to a thread ID; use the LWP ID instead. This causes us to go through the ptrace(2) interface to modify registers -- using the kernel state -- rather than through the
   thread library.

What do we do for core files?

Probably what he really means is "this goes through the other GDB interface to get the registers", which would be ptrace(2) on live images and the core file on non-live.

At least, that's what I hope he means :-)

        -- Jason R. Thorpe <thorpej%shagadelic.org@localhost>

Attachment: PGP.sig
Description: This is a digitally signed message part



Home | Main Index | Thread Index | Old Index