This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: ptype of prototype of a funtion
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: gdb at sources dot redhat dot com, mukeshgct at hotpop dot com
- Date: Fri, 12 Mar 2004 10:39:21 -0500 (EST)
- Subject: Re: ptype of prototype of a funtion
> 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