Re: gdb can't find main?
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