From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8408 invoked by alias); 29 Apr 2009 19:09:04 -0000 Received: (qmail 8398 invoked by uid 22791); 29 Apr 2009 19:09:03 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 29 Apr 2009 19:08:55 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id n3TJ8jfh026882; Wed, 29 Apr 2009 21:08:45 +0200 (CEST) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id n3TJ8ic6007273; Wed, 29 Apr 2009 21:08:44 +0200 (CEST) Date: Wed, 29 Apr 2009 19:12:00 -0000 Message-Id: <200904291908.n3TJ8ic6007273@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: eliz@gnu.org CC: drow@false.org, gdb@sourceware.org In-reply-to: <83ws93cmp0.fsf@gnu.org> (message from Eli Zaretskii on Wed, 29 Apr 2009 21:57:31 +0300) Subject: Re: Debugging a frameless function References: <83zldzco0p.fsf@gnu.org> <20090429183946.GA28155@caradoc.them.org> <83ws93cmp0.fsf@gnu.org> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-04/txt/msg00220.txt.bz2 > Date: Wed, 29 Apr 2009 21:57:31 +0300 > From: Eli Zaretskii > > > Date: Wed, 29 Apr 2009 14:39:46 -0400 > > From: Daniel Jacobowitz > > Cc: gdb@sourceware.org > > Thanks for responding. > > > Sounds like the debug info is bad. > > But then why does GDB 6.1 have no problems debugging the same binary? Did GDB 6.1 have the DWARF2 frame unwinder enabled for DJGPP? If so, another possibility is that the debug infor is right, but that GDB somehow misinterprets it, or uses the debug info for the wrong code address (which happens to correspond to a function that does save the stack pointer in %ebp).