This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
linux, threads and auto-solib-add
- From: "Martin M. Hunt" <hunt at redhat dot com>
- To: gdb at sources dot redhat dot com
- Date: 29 Jan 2003 16:24:15 -0800
- Subject: linux, threads and auto-solib-add
I am trying to answer a question about debugging threaded applications
when auto-solib-add is off. You cannot debug pthreads programs without
first loading the symbols for libpthread.
Given that, does it make sense to modify solid_add to always read the
symbols for libpthread, if it is in the library list? Or is expected the
user knows enough to always immediately do "shar libpthread" after
starting debugging a threaded program?
Martin