This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug server/17258] New: $pdir in LIBTHREAD_DB_SEARCH_PATH doesn't work with gdbserver
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 11 Aug 2014 22:40:49 +0000
- Subject: [Bug server/17258] New: $pdir in LIBTHREAD_DB_SEARCH_PATH doesn't work with gdbserver
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17258
Bug ID: 17258
Summary: $pdir in LIBTHREAD_DB_SEARCH_PATH doesn't work with
gdbserver
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: server
Assignee: unassigned at sourceware dot org
Reporter: dje at google dot com
Filing this for reference sake.
nat/gdb_thread_db.h has this:
#define LIBTHREAD_DB_SEARCH_PATH "$sdir:$pdir"
$pdir currently doesn't work with gdbserver.
gdbserver/thread-db.c has this:
if (strncmp (this_dir, "$pdir", pdir_len) == 0
&& (this_dir[pdir_len] == '\0'
|| this_dir[pdir_len] == '/'))
{
/* We don't maintain a list of loaded libraries so we don't know
where libpthread lives. We *could* fetch the info, but we don't
do that yet. Ignore it. */
}
--
You are receiving this mail because:
You are on the CC list for the bug.