How to evaluate functions in GDB?

The syntax for calling a function in gdb is

call pow(3,2)

Type

help call

at the gdb prompt for more information.

Leave a Comment