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 11:20:31 -0700
A bit more info:
On Apr 14, 2005, at 11:04, Justin Walker wrote:
Hi, all,
Further adventures in C++ land...
This may be obvious, but I've looked at the doc (even bought Stan's
book!), to no avail.
I get into gdb (with or without xcode), and try to plant a breakpoint
at main().
I get the following:
(gdb) b main
Breakpoint 1 at 0x262c: file iset_str.c, line 28.
The address for main, according to 'nm', is 0x2abc. It appears to be
the only 'main' in the nm list (which one would hope would be the
case). 0x262c does not show up in the list produced by 'nm'.
Gdb appears to be matching a gmp name because the addresses in
gmp.dylib are in that range. Are the addresses in dylibs unrelocated?
Thanks for any light...
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
Men are from Earth.
Women are from Earth.
Deal with it.
--------
_______________________________________________
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