public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: D Haley <mycae@yahoo.com>
To: Jim Ingham <jingham@apple.com>, Daniel Jacobowitz <drow@false.org>
Cc: gdb@sourceware.org
Subject: Re: c++ member arrays with variable size
Date: Fri, 09 Nov 2007 06:42:00 -0000	[thread overview]
Message-ID: <621795.48268.qm@web36801.mail.mud.yahoo.com> (raw)
In-Reply-To: <5B6B8FC6-90BB-4188-88E8-700151E68B7A@apple.com>

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 <jingham@apple.com> 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 

      reply	other threads:[~2007-11-09  6:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-04  1:52 D Haley
2007-11-04  3:10 ` Daniel Jacobowitz
2007-11-04 11:26   ` D Haley
2007-11-04 14:34     ` Daniel Jacobowitz
2007-11-05 18:55       ` Jim Ingham
2007-11-09  6:42         ` D Haley [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=621795.48268.qm@web36801.mail.mud.yahoo.com \
    --to=mycae@yahoo.com \
    --cc=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=jingham@apple.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).