From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12045 invoked by alias); 21 Jul 2005 22:59:51 -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 12025 invoked by uid 22791); 21 Jul 2005 22:59:45 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 21 Jul 2005 22:59:45 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1Dvk11-0005xR-5Y; Thu, 21 Jul 2005 18:59:43 -0400 Date: Thu, 21 Jul 2005 22:59:00 -0000 From: Daniel Jacobowitz To: Manoj Iyer Cc: gdb@sources.redhat.com Subject: Re: gdb unable to print fn argument correctly Message-ID: <20050721225943.GA22858@nevyn.them.org> Mail-Followup-To: Manoj Iyer , gdb@sources.redhat.com References: <20050721201010.GA18155@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-07/txt/msg00220.txt.bz2 On Thu, Jul 21, 2005 at 05:29:10PM -0500, Manoj Iyer wrote: > GDB stopped on the instruction at 0x...10000544, which is 10000544: d8 > 3f 00 70 stfd f1,112(r31). The prologue analyzer must have been invoked. One way to fix the problem would be to find out why the prologue analyzer stopped before this instruction. Search for skip_prologue. > Line Column Address File > ---- ------ ------- ---- > 1 3 0 0x100004e4 test1.c > 2 4 0 0x10000510 test1.c > 3 5 0 0x10000538 test1.c > 4 9 0 0x10000560 test1.c > 5 10 0 0x10000574 test1.c > 6 11 0 0x1000057c test1.c > 7 12 0 0x10000588 test1.c > 8 13 0 0x10000594 test1.c > 9 14 0 0x10000598 test1.c If this is GCC output, then there ought to be two lines in each function, the second marking the end of the prologue. Figure out why there's only one in each of your small functions. -- Daniel Jacobowitz CodeSourcery, LLC