c++ member arrays with variable size
D Haley
mycae@yahoo.com
Fri Nov 9 06:42:00 GMT 2007
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
More information about the Gdb
mailing list