From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9031 invoked by alias); 18 May 2007 19:36:26 -0000 Received: (qmail 9017 invoked by uid 22791); 18 May 2007 19:36:22 -0000 X-Spam-Check-By: sourceware.org Received: from return.false.org (HELO return.false.org) (66.207.162.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 18 May 2007 19:36:13 +0000 Received: from return.false.org (localhost [127.0.0.1]) by return.false.org (Postfix) with ESMTP id BC5D14B267; Fri, 18 May 2007 14:36:09 -0500 (CDT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by return.false.org (Postfix) with ESMTP id 9E5434B262; Fri, 18 May 2007 14:36:09 -0500 (CDT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1Hp8FF-0006Cg-1F; Fri, 18 May 2007 15:36:09 -0400 Date: Fri, 18 May 2007 19:36:00 -0000 From: Daniel Jacobowitz To: Patrik Jonsson Cc: gdb@sourceware.org Subject: Re: gdb 6.5 doesn't see local variables Message-ID: <20070518193608.GA23651@caradoc.them.org> Mail-Followup-To: Patrik Jonsson , gdb@sourceware.org References: <464DFE61.6060804@ucolick.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <464DFE61.6060804@ucolick.org> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes 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-05/txt/msg00079.txt.bz2 On Fri, May 18, 2007 at 12:28:33PM -0700, Patrik Jonsson wrote: > Hi all, > > I'm trying to debug a C++ program (compiled with gcc 4.1.1) with gdb > 6.5-15.fc6rh (on a FC6 x86_64 machine), and I'm experiencing a most > vexing problem. I'm breaking the program in a constructor and want to > look at the local variables, but gdb says there are no such symbols in > the current context. The program is compiled with -g -O0. Sounds to me like: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27574 -- Daniel Jacobowitz CodeSourcery