Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA/testsuite] check bt problem after 2 steps is gone
Date: Fri, 28 Jul 2006 01:51:00 -0000	[thread overview]
Message-ID: <20060728015056.GA1754@nevyn.them.org> (raw)
In-Reply-To: <20060728011114.GE12362@adacore.com>

On Thu, Jul 27, 2006 at 06:11:14PM -0700, Joel Brobecker wrote:
> Yes it would. The semi-tricky part is to determine the number of stepi's
> we can do before we end up inside printf, regardless of the architecture.
> On sparc, for instance, seting up the frame can be done in one
> instruction, thanks to the register rotation during calls.
> 
> I actually tried it on sparc-solaris, and indeed, the call to printf
> is located at the 4th instruction.
> 
> My guess is that we should be able to add an extra "stepi 2; bt"
> and that should work for all other architectures.

Let's be conservative; how about stepi; bt; stepi; bt?

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2006-07-28  1:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-28 17:40 Joel Brobecker
2006-07-27 13:41 ` Daniel Jacobowitz
2006-07-28  1:11   ` Joel Brobecker
2006-07-28  1:51     ` Daniel Jacobowitz [this message]
2006-07-28  2:37       ` Joel Brobecker
2006-08-08 21:51 ` Joel Brobecker

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=20060728015056.GA1754@nevyn.them.org \
    --to=drow@false.org \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sources.redhat.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