• 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
Re: trying to enable NSZombie, gdb can't find OSO file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trying to enable NSZombie, gdb can't find OSO file


  • Subject: Re: trying to enable NSZombie, gdb can't find OSO file
  • From: Martin Wierschin <email@hidden>
  • Date: Sat, 13 Jun 2009 14:12:23 -0700

In any case, it seems like there's something really weird going on with this one project. I can't seem to touch any Cocoa from gdb, though other calls are fine:

	(gdb) po [NSArray array]
	Could not find OSO file: ""
	(gdb) p/x (void*)CFDictionaryCreateMutable(0, 99, 0, 0)
	$1 = 0x185ea00
	(gdb) p/x (void*)malloc(99)
	$1 = 0x323bb0

My target is configured to link with the Cocoa framework. Perhaps I should take this to the XCode list, though if anyone has any suggestions I'd be happy to hear them :)

Are you trying to do remote debugging?

Nope.

I still don't know what the problem is, but I found a workaround. If I set a breakpoint anywhere in the project to trigger gdb, I can touch NSZombieEnabled (and any other Cocoa symbols) just fine. It's only if I manually break into gdb with the "pause" button that I get the message about the OSO file.

Not great, but good enough for me to get some real work done!

~Martin

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >trying to enable NSZombie, gdb can't find OSO file (From: Martin Wierschin <email@hidden>)
 >Re: trying to enable NSZombie, gdb can't find OSO file (From: Bill Bumgarner <email@hidden>)
 >Re: trying to enable NSZombie, gdb can't find OSO file (From: Martin Wierschin <email@hidden>)
 >Re: trying to enable NSZombie, gdb can't find OSO file (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Re: trying to enable NSZombie, gdb can't find OSO file
  • Next by Date: Putting files in an flat-file executable
  • Previous by thread: Re: trying to enable NSZombie, gdb can't find OSO file
  • Next by thread: Re: trying to enable NSZombie, gdb can't find OSO file
  • Index(es):
    • Date
    • Thread