• 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: gdb can't find main?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb can't find main?


  • Subject: Re: gdb can't find main?
  • From: Justin Walker <email@hidden>
  • Date: Thu, 14 Apr 2005 18:32:54 -0700


On Apr 14, 2005, at 11:29, Jason Molenda wrote:

Hi Justin,

On Apr 14, 2005, at 11:20 AM, Justin Walker wrote:
[snip]
Ah yes, of course. Before program execution gdb would get confused about which binary (application/dylib) contains the symbol with dylibs at a load addr of 0x0. You can work around this by linking gmp with a -seg1addr (any old big addr is fine, it'll slide if it conflicts with something). I don't remember exactly what is supported in Xcode 1.5. Does gdb's break command accept the -shlib option? e.g.

b -shlib hecke main

Nope. Doesn't recognize the "function" "-shlib hecke main".

Trying the seg1addr trick...Yes!

I guess we won't be fixing this for 10.3?  :-}

BTW: there won't be a big performance penalty using the segaddr trick, right? Is sliding going to happen one way or the other?

Thanks for the help!

Regards,

Justin

--
Justin C. Walker, Curmudgeon-at-Large
/~\ The ASCII
\ / Ribbon Campaign
 X  Help Cure HTML Email
/ \

_______________________________________________
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


References: 
 >gdb can't find main? (From: Justin Walker <email@hidden>)
 >Re: gdb can't find main? (From: Justin Walker <email@hidden>)
 >Re: gdb can't find main? (From: Jason Molenda <email@hidden>)

  • Prev by Date: Re: Setting color of mouse pointer in Xcode 1.5
  • Next by Date: accessing debugger variables (via script) & customization
  • Previous by thread: Re: gdb can't find main?
  • Next by thread: SCM Compare and diff now find mostly identical files are entirely different.
  • Index(es):
    • Date
    • Thread