From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32438 invoked by alias); 16 Mar 2004 14:16:39 -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 32413 invoked from network); 16 Mar 2004 14:16:38 -0000 Received: from unknown (HELO smtp10.atl.mindspring.net) (207.69.200.246) by sources.redhat.com with SMTP; 16 Mar 2004 14:16:38 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by smtp10.atl.mindspring.net with esmtp (Exim 3.33 #1) id 1B3FMe-00064i-00; Tue, 16 Mar 2004 09:16:16 -0500 Received: by berman.michael-chastain.com (Postfix, from userid 502) id 96FDE4B104; Tue, 16 Mar 2004 09:16:33 -0500 (EST) To: drow@false.org, mukeshgct@hotpop.com Subject: Re: ptype of prototype of a funtion Cc: gdb@sources.redhat.com Message-Id: <20040316141633.96FDE4B104@berman.michael-chastain.com> Date: Tue, 16 Mar 2004 14:16:00 -0000 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) X-SW-Source: 2004-03/txt/msg00145.txt.bz2 Hello Murugesan, gdb>ptype fun type = int () Okay, I have some questions: What computer and operating system are you using? What compiler are you using to compile 'fun'? What version of the compiler are you using? What command line switches do you use to compile your program? What command line switches do you use to link your program? Can you make a small sample program which shows this problem? Then use the 'script' command. 'cat' the program, compile and link the program, run gdb on the program, exit 'script', and mail us the typescript. Michael C