working version of gdb(x86) and gdbserver(ppc)?

Albert Ho alberth@intellambda.com
Fri Feb 20 00:52:00 GMT 2004


The application monitored by gdbserver uses pthread. So "strace 
gdbserver :5000 foo" has libpthread.so.0.

Daniel Jacobowitz wrote:

>On Thu, Feb 19, 2004 at 03:23:23PM -0800, Albert Ho wrote:
>  
>
>>Thanks Daniel.
>>One more question: do strace suppose to show exactly the same library 
>>opened?
>>I notice gdb open("/lib/tls/libthread_db.so.1", O_RDONLY) = 3
>>but gdbserver open("/lib/tls/libpthread.so.0", O_RDONLY) = 9
>>    
>>
>
>Why is gdbserver opening libpthread at all?
>
>  
>




More information about the Gdb mailing list