From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27800 invoked by alias); 4 Nov 2007 11:26:55 -0000 Received: (qmail 27789 invoked by uid 22791); 4 Nov 2007 11:26:55 -0000 X-Spam-Check-By: sourceware.org Received: from web36804.mail.mud.yahoo.com (HELO web36804.mail.mud.yahoo.com) (209.191.85.55) by sourceware.org (qpsmtpd/0.31) with SMTP; Sun, 04 Nov 2007 11:26:52 +0000 Received: (qmail 86861 invoked by uid 60001); 4 Nov 2007 11:26:51 -0000 X-YMail-OSG: QqyS.iAVM1k6odN6nduXMs1gnHnurLEVsLXx7XmhYY6jUfKCRlRDA7spb1buyMhTrQ-- Received: from [121.44.15.103] by web36804.mail.mud.yahoo.com via HTTP; Sun, 04 Nov 2007 03:26:50 PST Date: Sun, 04 Nov 2007 11:26:00 -0000 From: D Haley Subject: Re: c++ member arrays with variable size To: Daniel Jacobowitz Cc: gdb@sourceware.org In-Reply-To: <20071104031022.GB8183@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <75699.86396.qm@web36804.mail.mud.yahoo.com> 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-11/txt/msg00025.txt.bz2 Hi Daniel, > Most of the time, if a variable does not show up in > "info locals", > that means your compiler has not emitted debug info > for it. I tried > your example with G++ 4.2 on x86_64-linux, and did > see the local > array. Hmm, I tried on another machine and yes, i can see it. For the record on the non-working version I am using apple-darwin8-g++ (GCC) 4.0.1. Minus one point for apple :( . Thanks. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com