From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5954 invoked by alias); 11 Mar 2008 00:52:46 -0000 Received: (qmail 5945 invoked by uid 22791); 11 Mar 2008 00:52:44 -0000 X-Spam-Check-By: sourceware.org Received: from bluesmobile.specifix.com (HELO bluesmobile.specifix.com) (216.129.118.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 11 Mar 2008 00:52:22 +0000 Received: from [127.0.0.1] (bluesmobile.specifix.com [216.129.118.140]) by bluesmobile.specifix.com (Postfix) with ESMTP id E9E073C2A6; Mon, 10 Mar 2008 17:52:20 -0700 (PDT) Subject: Re: breakpoints and symbol examination problems From: Michael Snyder To: Daniel Jacobowitz Cc: Brian Budge , gdb@sourceware.org In-Reply-To: <20080311003238.GA14908@caradoc.them.org> References: <5b7094580803101705m7bc6e8ffqa480a74d9b0ab548@mail.gmail.com> <20080311003238.GA14908@caradoc.them.org> Content-Type: text/plain Date: Tue, 11 Mar 2008 09:53:00 -0000 Message-Id: <1205196740.19253.809.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-7.fc7) Content-Transfer-Encoding: 7bit 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: 2008-03/txt/msg00115.txt.bz2 On Mon, 2008-03-10 at 20:32 -0400, Daniel Jacobowitz wrote: > On Mon, Mar 10, 2008 at 05:05:17PM -0700, Brian Budge wrote: > > > Additionally, I can't seem to examine any "stack" variables once in > > these template functions. I can see member variables, global > > variables, and function parameters. > > This may be fixed, or it may be a compiler bug. GCC is not very good > about emitting local variable information in optimized code. Can you compile with -O0?