From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1652 invoked by alias); 9 Nov 2007 06:42:11 -0000 Received: (qmail 1641 invoked by uid 22791); 9 Nov 2007 06:42:10 -0000 X-Spam-Check-By: sourceware.org Received: from web36801.mail.mud.yahoo.com (HELO web36801.mail.mud.yahoo.com) (209.191.85.52) by sourceware.org (qpsmtpd/0.31) with SMTP; Fri, 09 Nov 2007 06:42:07 +0000 Received: (qmail 48472 invoked by uid 60001); 9 Nov 2007 06:42:05 -0000 X-YMail-OSG: pEryA8oVM1kp3eK.XvOH.gcoUU0S2KEEnUBXK1KGP2Aabk_Df2OpTp3cLVkWMFxLRZlc4VXF8CQlEbkYN_njM4lYFXVSgK8cav1lQ8QvCdvA5jsEwyY- Received: from [129.78.64.106] by web36801.mail.mud.yahoo.com via HTTP; Thu, 08 Nov 2007 22:42:05 PST Date: Fri, 09 Nov 2007 06:42:00 -0000 From: D Haley Subject: Re: c++ member arrays with variable size To: Jim Ingham , Daniel Jacobowitz Cc: gdb@sourceware.org In-Reply-To: <5B6B8FC6-90BB-4188-88E8-700151E68B7A@apple.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <621795.48268.qm@web36801.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/msg00064.txt.bz2 Hi Jim, Thanks for the heads up, I am using Xcode 2.4.1; I will try that update later, last XCode update (hoping for GCC's new OpenMP support) -- which I did a few weeks ago -- was ~1GB! I'm using OSX 10.4, which I believe is tiger (according to wikipedia). Thankyou. --- Jim Ingham wrote: > Daniel's right, gcc generated stabs (regardless of > platform) omits > debug records for variable length arrays. DWARF > reports them as > arrays of 0 size. We've actually supported DWARF > for a while - > starting with Xcode 2.4. If you are on Tiger, you > might want to > download the latest tools - Xcode 2.5 from Apple's > developer site. > There aren't any tools hosted on Panther or earlier > that work with > DWARF, so if you're still on Panther, you will have > to upgrade to Tiger. > > Jim > > On Nov 4, 2007, at 6:34 AM, Daniel Jacobowitz wrote: > > > On Sun, Nov 04, 2007 at 03:26:50AM -0800, D Haley > wrote: > >> 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 :( . > > > > This is probably because Apple's still using the > older stabs debug > > format. I believe they either have switched, or > are switching, to > > DWARF-2; that will help a lot. > > > > -- > > Daniel Jacobowitz > > CodeSourcery > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com