Re: ptype of prototype of a funtion

Daniel Jacobowitz
2004-03-12T15:39:55Z

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