how to print a function's return value
Tom Frank
gdbhelper@gmail.com
Wed Jul 11 15:10:00 GMT 2012
hi,
in source code , there is a fuction call like this : int a = func(param);
then I debug it with gdb , whein it stop at this line,I want to print
the func's retvalue, which results in a gdb sigtrap,and
cause gdb to go into a trap, then I can not find where am I .
I konw there is a command to prevent gdb going to trap like this,
what is that command?
thanks!
More information about the Gdb
mailing list