From: Daniel Jacobowitz <drow@false.org>
To: Ulrich Weigand <uweigand@de.ibm.com>
Cc: gdb-patches@sourceware.org, pedro@codesourcery.com
Subject: Re: [rfc] Displaced stepping with wrong entry point address
Date: Thu, 04 Sep 2008 12:15:00 -0000 [thread overview]
Message-ID: <20080904121459.GB27200@caradoc.them.org> (raw)
In-Reply-To: <200808221748.m7MHmkpd004832@d12av02.megacenter.de.ibm.com>
On Fri, Aug 22, 2008 at 07:48:46PM +0200, Ulrich Weigand wrote:
> I'm wondering whether this fix would be good for the general case too
> -- there may be situations where entry_point_address does not work
> (e.g. because the main executable file could not be loaded). The
> auxiliary vector, on targets where it is present, will probably be
> more reliable ...
We really ought to cache this value; you'll go back and forth to the
target to read the auxv vector at every singlestep.
If SPU ever did support displaced stepping (not that this would be
terribly useful, but consider some other multi-architecture case),
would this be wrong for the SPU side code?
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2008-09-04 12:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-22 17:49 Ulrich Weigand
2008-09-04 1:49 ` [ping] " Ulrich Weigand
2008-09-04 12:15 ` Daniel Jacobowitz [this message]
2008-09-04 19:28 ` [rfc] " Ulrich Weigand
2008-09-04 19:32 ` Daniel Jacobowitz
2008-09-04 20:31 ` Ulrich Weigand
2008-09-05 14:17 ` Mark Kettenis
2008-09-05 16:19 ` [commit, spu] Do not use generic_push_dummy_code Ulrich Weigand
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=20080904121459.GB27200@caradoc.them.org \
--to=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=pedro@codesourcery.com \
--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