RFC: A mode in which gdb avoids libthread_db

Andrew Cagney ac131313@redhat.com
Fri Aug 8 02:21:00 GMT 2003


> On Sat, Jul 26, 2003 at 07:37:12PM -0400, Elena Zannoni wrote:

>> I know first hand of the pains of mismatched glibcs, binutils,
>> kernels, gdbs.  I wouldn't mind having this coexist with the use of
>> glibc, is that possible?
> 
> 
> Sure.  It could just be a switch or a "set" flag - easy enough.

Yes.  In this mode, just restrict libthread_db to, er, visualizing 
thread data structures such as the thread ID and, hopefully, eventually, 
semaphore state et.al.

>> What ptrace changes did you do? (Elena needs to start reading
>> linux-kernel)
> 
> 
> Take a look at the support for "set follow-fork-mode", which I've
> posted a few times.  I added:

Andrew




More information about the Gdb mailing list