This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
How not to step into functions called as arguments of another function?
- From: "Peng Yu" <pengyu dot ut at gmail dot com>
- To: gdb at sourceware dot org
- Date: Wed, 21 Nov 2007 06:11:40 -0600
- Subject: How not to step into functions called as arguments of another function?
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()?
Thanks,
Peng