Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting GDB to work



Since upgrading to Xcode 2.2, I was unable to debug my C++ applications. Xcode's debugger would basically just quit at the start. If I ran GDB manually, I'd get

/SourceCache/gdb/gdb-434/src/gdb/buildsym.c:736: internal-error: failed internal consistency check

It turned out that I can work around this bug (rdar://4340011) by changing my build settings

DEAD_CODE_STRIPPING = YES

to

DEAD_CODE_STRIPPING = NO

And no, I wasn't using ZeroLink, and was using -gfull.
--

David Dunham     A Sharp, LLC
Voice/Fax: 206 783 7404     http://a-sharp.com
Efficiency is intelligent laziness.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.