It would be fantastic if you could get line numbers and not just
function-level symbols. For now (using atos) you basically have to
delve into guesswork when it comes to working out which line in a
function is the last-executed in a crash.
If you have a binary with debug symbols (stabs) or a dSYM file
(DWARF), gdb can do it for you. As I mentioned earlier today,
(gdb) info line *0x2696
Line 28 of "/tmp/gdb.roots/gdb/src/gdb/gdb.c" starts at address 0x2696
<main> and ends at 0x269d <main+7>.
If your pre-stripped release binary was built with debug symbols
(stabs for now), atos can do the same. You may be building your
release build without debug symbols - in which case neither gdb nor
atos can do much more than function names.
J
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden