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: Daniel Jacobowitz <drow at false dot org>
- To: murugesan <mukeshgct at hotpop dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 12 Mar 2004 10:39:48 -0500
- Subject: Re: ptype of prototype of a funtion
- References: <123e01c40807$34e4ce20$2b0110ac@munco>
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