This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ptype of prototype of a funtion


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]