Re: ptype of prototype of a funtion

Michael Elizabeth Chastain
2004-03-12T15:39:14Z

> Is there a way to get the prototype of a function i gdb.

If your compiler emits information for the function arguments,
then the gdb command 'ptype' will print that information.

Try compiling and linking your program with the "-g" flag to
get more debugging information.

Michael C
GDB QA Guy