site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Distribute a release build without a stripped symbol table? You can't really get symbols without a table to look them up from. -- Terry -- Terry 0x9450366b -[NSApplication run] (in AppKit) + 795 0x944d08a4 NSApplicationMain (in AppKit) + 574 0x2f1d 0x00002f1d (in App) 0x2852 0x00002852 (in App) 0x2779 0x00002779 (in App) What would be the workaround for this? _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Feb 12, 2009, at 11:14 PM, Arnab Ganguly wrote: Problem is that my application is an embedded application.So once the main application crashes, from my embedded application I try to run an atos on the main application to get the symbol information.What would be the best and correct approach to get the symbols resolved correctly from the main app,considering it has to be a release build? I don't have the opportunity to use backtrace set of functions as it is on Tiger and using 10.4 sdk.I am trying to retrieve the program counter and on that I run atos with the main applications process id. Thanks in advance -A On Thu, Feb 12, 2009 at 11:14 PM, Terry Lambert <tlambert@apple.com> wrote: Use the -o option to specify the object file for the program from which you have not stripped symbol information. It's able to print symbols for the libraries because their LC sections refer to files from which symbol information has not been stripped, bug the address yo are looking at is in a Mach-o object for which there us not symbol information on the disk. It more or less states that this will happen for stripped objects in the atos man page. On Feb 12, 2009, at 4:03 AM, Arnab Ganguly <aganguly01@gmail.com> wrote: Hi All, I am using atos with process id and the address but it returns me only the same hex address I am not getting the function name and the line number.Below I have given the output. The command that I am using is atos -p processid address. Thanks in advance. -A _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/tlambert %40apple.com This email sent to tlambert@apple.com This email sent to site_archiver@lists.apple.com