ptype of prototype of a funtion

Daniel Jacobowitz drow@false.org
Fri Mar 12 15:39:00 GMT 2004


On Fri, Mar 12, 2004 at 01:23:59PM +0530, murugesan wrote:
> Hello all,
>     ptype fun(NULL,NULL)
> This gives me the return type of the function fun
>     Is there a way to get  the prototype of a function i gdb.
> 
> I don't know the type of the parameters of fun which can have the value
> NULL. [ (void*)0 ]
> 
> thanks in advance for the help.

How about 'ptype fun'?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb mailing list