From: Michael Snyder <msnyder@specifix.com>
To: Peng Yu <pengyu.ut@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: How not to step into functions called as arguments of another function?
Date: Wed, 21 Nov 2007 13:55:00 -0000 [thread overview]
Message-ID: <1195652686.23780.24.camel@localhost.localdomain> (raw)
In-Reply-To: <366c6f340711210411p3cef12d3r8cbd32899f0544b2@mail.gmail.com>
On Wed, 2007-11-21 at 06:11 -0600, Peng Yu wrote:
> Hi,
>
> Suppose I have two functions in C++.
>
> void f(int x);
>
> int g();
>
> If I call "f(g())" in my program, when I want to step into f(), I have
> to first step in g() first. I'm wondering whether there is simple way
> to step into f() directly without stepping into g()?
Not in one command, but in two:
(gdb) break f
(gdb) continue
next prev parent reply other threads:[~2007-11-21 13:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-21 12:11 Peng Yu
2007-11-21 13:55 ` Michael Snyder [this message]
2007-11-23 3:26 ` 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=1195652686.23780.24.camel@localhost.localdomain \
--to=msnyder@specifix.com \
--cc=gdb@sourceware.org \
--cc=pengyu.ut@gmail.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