From: Daniel Jacobowitz <drow@false.org>
To: Ulrich Weigand <uweigand@de.ibm.com>
Cc: Joel Brobecker <brobecker@adacore.com>, gdb-patches@sourceware.org
Subject: Re: [RFA/solib-svr4] use AT_BASE auxiliary entry to compute load base address
Date: Thu, 17 Apr 2008 22:32:00 -0000 [thread overview]
Message-ID: <20080417214505.GA9147@caradoc.them.org> (raw)
In-Reply-To: <200804172131.m3HLVISH007144@d12av02.megacenter.de.ibm.com>
On Thu, Apr 17, 2008 at 11:31:18PM +0200, Ulrich Weigand wrote:
> Yes, that's on my to-do list anyway ...
>
> However, even that would not fix the same issue with core files
> (if prelink changed a library between core file generation and
> use in GDB).
Drat. And even if that bit is in the core file (likely on at least
some vendor kernels; program headers are in the same page as the
build-id note) we would not know where to look for it.
I don't want to revert the patch, since it fixes a nasty breakage
if you connect to a program when it has just started running but
has gone a few instructions, i.e. the library list is not filled in
yet but the PC is not the dynamic linker entry point. Is there
really no way to differentiate these two cases?
--
Daniel Jacobowitz
CodeSourcery
prev parent reply other threads:[~2008-04-17 21:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-12 21:18 Joel Brobecker
2007-09-13 1:02 ` Joel Brobecker
2007-09-16 19:36 ` Daniel Jacobowitz
2007-09-17 19:42 ` Joel Brobecker
2007-09-17 19:49 ` Daniel Jacobowitz
2008-04-17 15:29 ` Ulrich Weigand
2008-04-17 17:48 ` Daniel Jacobowitz
2008-04-17 21:45 ` Ulrich Weigand
2008-04-17 22:32 ` Daniel Jacobowitz [this message]
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=20080417214505.GA9147@caradoc.them.org \
--to=drow@false.org \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=uweigand@de.ibm.com \
/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