This is the mail archive of the gdb-patches@sourceware.org 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] |
On Thu, Oct 8, 2009 at 12:42 PM, Daniel Jacobowitz <drow@false.org> wrote: > On Thu, Oct 08, 2009 at 12:20:53PM -0700, Paul Pluzhnikov wrote: >> I would prefer to do it as a follow-up patch though. >> Would that be ok? > > Oh, absolutely. This isn't a common use case, just one I've found > handy. As usual, I appreciate how helpful you are! Here is the promised follow-up patch. If gdbserver is configured with --with-libthread-db=/path/to/libthread.db.{a,so} then we link with the given library instead of libdl, and directly import all the symbols from it. Tested by configuring --with-libthread-db=/lib64/libthread_db.so.1 and running 'make check RUNTESTFLAGS="--target_board native-gdbserver"'. No regressions. Thanks, -- Paul Pluzhnikov 2009-10-15 Paul Pluzhnikov <ppluzhnikov@google.com> * configure.ac: New --with-libthread-db option. * thread-db.c: Allow direct dependence on libthread_db. (thread_db_free): Adjust. * config.in: Regenerate. * configure: Likewise.
Attachment:
gdb-gdbserver-threaddb-search-20091015.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |