Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Nov 2003 10:50:59 -0500
From:      David Rhodus <drhodus@catpa.com>
To:        Daniel Eischen <eischen@vigrid.com>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: Adding Threads Support to GDB
Message-ID:  <301A7B2D-0C83-11D8-A962-000A959B213E@catpa.com>
In-Reply-To: <Pine.GSO.4.10.10311011036560.11941-100000@pcnet5.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Saturday, November 1, 2003, at 10:39 AM, Daniel Eischen wrote:

> On Sat, 1 Nov 2003, Glenn Gombert wrote:
>
>> I discussed to Robert Watson the Release 5.2 task of adding threads
>> support to GDB. It does not appear that anyone is currently working=20=

>> on it
>> yet. I would be interested in taking it on (if no one else has had=20
>> time
>> to get started on it yet).
>>
>> 	There appears to be several things that need to be done in =
general):
>>
>>
>> *       Making gdb understand all three libraries that threaded=20
>> programs
>> might be liked with:
>>           -- libc_r, libthr, and libpthread
>>
>> *       Adding code to the kernel to attach to threads running in
>> different KSE=92s to bring back and display the data for threads =
(which=20
>> are
>> attached to blocked).
>>
>> *       For debugging N:M threads some logic could be added to the =
ULE
>> scheduler  (to enable the debugger to control the flow of execution=20=

>> while
>> debugging a specific thread).
>>
>> I would like to work on this task (if no one else had gotten started=20=

>> on
>> it yet)
>
> I started but put it aside for the time being.  Have a look
> at NetBSD's libpthread_dbg.


How far off is GDB 6.0 from what FreeBSD needs ?

-DR



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?301A7B2D-0C83-11D8-A962-000A959B213E>