from gdb.texinfo on 11 July 1994 --> Debugging with GDB - Calling

Go to the previous, next section.

Calling program functions

call expr
Evaluate the expression expr without displaying void returned values.

You can use this variant of the print command if you want to execute a function from your program, but without cluttering the output with void returned values. The result is printed and saved in the value history, if it is not void.

Go to the previous, next section.