public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug server/17258] New: $pdir in LIBTHREAD_DB_SEARCH_PATH doesn't work with gdbserver
@ 2014-08-11 22:40 dje at google dot com
  0 siblings, 0 replies; only message in thread
From: dje at google dot com @ 2014-08-11 22:40 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-11 22:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-11 22:40 [Bug server/17258] New: $pdir in LIBTHREAD_DB_SEARCH_PATH doesn't work with gdbserver dje at google dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).