Subject: Re: CVS commit: src/gnu/dist/gdb/gdb
To: Bill Studenmund <wrstuden@netbsd.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: source-changes
Date: 10/13/2004 20:57:05
--Apple-Mail-9--840058371
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed


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>


--Apple-Mail-9--840058371
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFBbfkROpVKkaBm8XkRAsyKAJwPCrkB36OUIpcM9/tRT32jX0k4FgCffXSw
4BoOKeQro0uk+I0KgzuJ364=
=MCcu
-----END PGP SIGNATURE-----

--Apple-Mail-9--840058371--