Examining function return value in GDB

Posted by Jack on Stack Overflow See other posts from Stack Overflow or by Jack
Published on 2009-06-14T08:05:53Z Indexed on 2010/05/10 1:28 UTC
Read the original article Hit count: 313

Filed under:
|

If I break in line 3:

1  int foo()
2  {
3      return func();
4  }

is there a way to examine the return value of func()?

Thanks.

© Stack Overflow or respective owner

Related posts about debugger

Related posts about gdb