From: "Marc Khouzam" <marc.khouzam@ericsson.com>
To: <wkf@sinavigator.com>, <gdb@sourceware.org>
Subject: RE: Step outer function call
Date: Mon, 28 Jan 2008 20:03:00 -0000 [thread overview]
Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA04290E72@ecamlmw720.eamcs.ericsson.se> (raw)
In-Reply-To: <479E332C.7080205@sinavigator.com>
I found a similar question with answer from a couple of months ago:
http://sourceware.org/ml/gdb/2007-11/msg00206.html
-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org]On
Behalf Of William K. Foster
Sent: Monday, January 28, 2008 2:55 PM
To: gdb@sourceware.org
Subject: Step outer function call
Hello,
I often find that when stepping through code, I would like to step into
the outer most function call on a line of code, but the only way I see
to do this is to step into each inner call and finish them until
reaching the outer call. For example:
foo(bar(), baz());
If on the above line and I step, I first enter bar(), then baz(), and
finally foo().
The vast majority of the time, I want to enter foo().
Is there a command or script to accomplish this?
If not, is this a reasonable feature request for gdb?
Thanks.
-William
next prev parent reply other threads:[~2008-01-28 20:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-28 19:55 William K. Foster
2008-01-28 20:03 ` Marc Khouzam [this message]
2008-01-28 20:10 ` Daniel Jacobowitz
2008-01-28 20:13 ` William K. Foster
2008-01-28 20:20 ` Daniel Jacobowitz
2008-01-29 4:19 ` Eli Zaretskii
2008-01-29 6:44 ` Michael Snyder
2008-01-28 22:36 ` Michael Snyder
2008-01-28 23:00 ` Nick Roberts
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=6D19CA8D71C89C43A057926FE0D4ADAA04290E72@ecamlmw720.eamcs.ericsson.se \
--to=marc.khouzam@ericsson.com \
--cc=gdb@sourceware.org \
--cc=wkf@sinavigator.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