• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Getting GDB to work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting GDB to work


  • Subject: Getting GDB to work
  • From: David Dunham <email@hidden>
  • Date: Fri, 18 Nov 2005 11:15:31 -0800

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:
This email sent to email@hidden


  • Prev by Date: Re: Is Xcode 2.2 in new Mac OS X "10.4.3 Now Inside" box?
  • Next by Date: Re: Is Xcode 2.2 in new Mac OS X "10.4.3 Now Inside" box?
  • Previous by thread: Re: Is Xcode 2.2 in new Mac OS X "10.4.3 Now Inside" box?
  • Next by thread: convert a perl script to C/C++
  • Index(es):
    • Date
    • Thread