gdb.info: Calling

Go forward to Patching
Go backward to Returning
Go up to Altering
Go to the top op gdb

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.  If the result is not void, it is printed
and saved in the value history.