From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13547 invoked by alias); 12 Mar 2004 15:39:55 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 13538 invoked from network); 12 Mar 2004 15:39:54 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 12 Mar 2004 15:39:54 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1B1olJ-0005Ju-01; Fri, 12 Mar 2004 10:39:48 -0500 Date: Fri, 12 Mar 2004 15:39:00 -0000 From: Daniel Jacobowitz To: murugesan Cc: gdb@sources.redhat.com Subject: Re: ptype of prototype of a funtion Message-ID: <20040312153948.GA20371@nevyn.them.org> Mail-Followup-To: murugesan , gdb@sources.redhat.com References: <123e01c40807$34e4ce20$2b0110ac@munco> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <123e01c40807$34e4ce20$2b0110ac@munco> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-03/txt/msg00116.txt.bz2 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