This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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?







Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]