This is the mail archive of the 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: [patch] Allow gdbserver to dynamically lookup

On Thu, Oct 8, 2009 at 12:42 PM, Daniel Jacobowitz <> 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
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/ and
running 'make check RUNTESTFLAGS="--target_board native-gdbserver"'.
No regressions.

Paul Pluzhnikov

2009-10-15  Paul Pluzhnikov  <>

	* New --with-libthread-db option.
	* thread-db.c: Allow direct dependence on libthread_db.
	(thread_db_free): Adjust.
	* 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]