From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13007 invoked by alias); 12 Mar 2004 15:39:14 -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 12943 invoked from network); 12 Mar 2004 15:39:13 -0000 Received: from unknown (HELO blount.mail.mindspring.net) (207.69.200.226) by sources.redhat.com with SMTP; 12 Mar 2004 15:39:13 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by blount.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1B1okh-00014j-00; Fri, 12 Mar 2004 10:39:11 -0500 Received: by berman.michael-chastain.com (Postfix, from userid 502) id D62644B104; Fri, 12 Mar 2004 10:39:21 -0500 (EST) To: gdb@sources.redhat.com, mukeshgct@hotpop.com Subject: Re: ptype of prototype of a funtion Message-Id: <20040312153921.D62644B104@berman.michael-chastain.com> Date: Fri, 12 Mar 2004 15:39:00 -0000 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) X-SW-Source: 2004-03/txt/msg00115.txt.bz2 > Is there a way to get the prototype of a function i gdb. If your compiler emits information for the function arguments, then the gdb command 'ptype' will print that information. Try compiling and linking your program with the "-g" flag to get more debugging information. Michael C GDB QA Guy