Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <alves.ped@gmail.com>
To: Pedro Alves <palves@redhat.com>, Yao Qi <yao@codesourcery.com>,
	 Peng Yu <pengyu.ut@gmail.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: How step over a ass call command?
Date: Tue, 07 Oct 2014 16:26:00 -0000	[thread overview]
Message-ID: <54341447.2070308@gmail.com> (raw)
In-Reply-To: <543413AF.4080401@redhat.com>

On 10/07/2014 05:24 PM, Pedro Alves wrote:
> "nexti" relies on being able to backtrace out of that "function",
> and check that the previous caller is still found at frame #1, to
> detect that a function call was done.  So run to that "call" line,
> and then do "bt".  And then do "stepi" to step that instruction
> instead of "nexti", and then do "bt" again.  If the second
> backtrace doesn't have one extra frame, or if the frame that was frame
> #0 in the first backtrace is       frame #1 in the second backtrace,
                               ^NOT^

> then "nexti" won't work either.

Thanks,
Pedro Alves


      reply	other threads:[~2014-10-07 16:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-05 22:12 Peng Yu
2014-10-05 22:31 ` Max Filippov
2014-10-05 22:59   ` Peng Yu
2014-10-07 14:23     ` Yao Qi
2014-10-07 16:24       ` Pedro Alves
2014-10-07 16:26         ` Pedro Alves [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=54341447.2070308@gmail.com \
    --to=alves.ped@gmail.com \
    --cc=gdb@sourceware.org \
    --cc=palves@redhat.com \
    --cc=pengyu.ut@gmail.com \
    --cc=yao@codesourcery.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