From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: Doug Evans <dje@google.com>
Subject: Re: [RFA] Only try to load libthread_db when we load libpthread.
Date: Thu, 06 Oct 2011 11:22:00 -0000 [thread overview]
Message-ID: <201110061222.24627.pedro@codesourcery.com> (raw)
In-Reply-To: <20111005182705.D744E2461D1@ruffy.mtv.corp.google.com>
On Wednesday 05 October 2011 19:27:05, Doug Evans wrote:
> 2011-10-05 Doug Evans <dje@google.com>
>
> * linux-thread-db.c (thread_db_new_objfile): Only try to load
> libthread_db when we load libpthread.
Makes sense to me.
> No regressions in amd64-linux,
> but I can imagine it misses some cases.
Yeah. I think we'll no longer activate thread_db when debugging core
files of static executables (e.g., a core of gdb.threads/staticthreads).
It works with live debugging since we call check_for_thread_db
from linux_child_post_attach/linux_child_post_startup_inferior.
Maybe moving that to an inferior_created observer in
linux-thread-db.c would work.
--
Pedro Alves
next prev parent reply other threads:[~2011-10-06 11:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-05 18:27 Doug Evans
2011-10-06 11:22 ` Pedro Alves [this message]
2011-10-06 19:56 ` Pedro Alves
2011-10-06 20:08 ` Doug Evans
2011-10-06 20:26 ` Pedro Alves
2011-10-06 21:56 ` Doug Evans
2011-10-06 22:06 ` Doug Evans
2011-10-07 11:09 ` Pedro Alves
2011-10-10 5:01 ` Doug Evans
2011-10-10 18:23 ` Pedro Alves
2011-10-11 3:38 ` Doug Evans
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201110061222.24627.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=dje@google.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox