This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

how to print a function's return value


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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]