From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1216 invoked by alias); 30 Jan 2007 12:28:36 -0000 Received: (qmail 1199 invoked by uid 22791); 30 Jan 2007 12:28:35 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO brahms.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 30 Jan 2007 12:28:29 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.13.8/8.13.8) with ESMTP id l0UCSIus021108; Tue, 30 Jan 2007 13:28:18 +0100 (CET) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.13.8/8.13.8/Submit) id l0UCSIAx027773; Tue, 30 Jan 2007 13:28:18 +0100 (CET) Date: Tue, 30 Jan 2007 12:28:00 -0000 Message-Id: <200701301228.l0UCSIAx027773@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: drow@false.org CC: vincent.degroote@encelade.com, gdb@sourceware.org In-reply-to: <20070130121300.GA17458@nevyn.them.org> (message from Daniel Jacobowitz on Tue, 30 Jan 2007 07:13:01 -0500) Subject: Re: Nexted function context References: <20070130121300.GA17458@nevyn.them.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: 2007-01/txt/msg00350.txt.bz2 > Date: Tue, 30 Jan 2007 07:13:01 -0500 > From: Daniel Jacobowitz > > On Tue, Jan 30, 2007 at 08:53:13AM +0000, Vincent De Groote wrote: > > Hello, > > > > I'm using gdb on c files compiled with gcc. I use a lot of nested function > > calls. > > When the program makes a core dump in a nested function, I can't see the > > local variables (No symbol in local context). > > > > I have the same problem if I single step within a running program. > > Can you provide a small test case for this problem? I vaguely remember that GCC emitted incorrect debug information for nested function calls, and that it would be hard to fix. Mark