On Jan 12, 2009, at 6:33 PM, Dave Dribin wrote:
Upon further investigation, the error "(file not found)" seems to imply that it can't find the file, which is clearly not the correct error message. Furthermore, I took a quick glance at the gdb sources [1], and noticed that it only resolves @executable_path. I'm guessing gdb needs to be updated to properly support @loader_path and @rpath. Namely the dyld_library_basename() looks incorrect. I'm gonna file a bug about this.

Err... I meant dyld_resolve_image().

Bug filed: rdar://problem/6491330 http://openradar.appspot.com/6491330

It only seems to happen with @loader_path. @executable_path and @rpath do not give any warnings. Here's the project that I included in the bug report:

  http://dl.getdropbox.com/u/27036/tmp/2009/AppWithFramework.tbz2

-Dave

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to