The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 03-28-2008, 06:05 AM
What's Jailbreak?
 
Join Date: Mar 2008
Device + Firmware: iPhone 1.1.3
Operating System: Leopard
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Looking up symbols from a crash dump? ld -map not working...

I have a crash dump and I'm trying to figure out what line of code is breaking the rules. Typically, I would look up the offending line of code via its address in the crash dump. In order to do this though, I need the map file that the linker generates to associate the addresses with functions in source code. arm-apple-darwin-ld (built from the odcctools) doesn't support the -map flag for some reason.

I poked around in the odcctools configure and didn't find anything related to enabling or disabling map file generation in the compilation process of ld. I was hoping someone had dealt with this and can save me the time reading through the GCC source to figure this out.

Btw, I don't need to have map files generated specifically. I just need some way of figuring out what line of code is crashing. I did try to have g++ generate dwarf debug symbols stripped into a dSYM folder, but I wasn't able to get it to generate the stripped symbols. And I'm not sure I could even load them if it worked since gdb on leopard doesn't know about the arm architecture.

Other than those, I'm not aware of another way (given the addresses of a crash) aside from running the code under a debugger. To my knowledge, GDB won't run on the iPhone kernel.

Any ideas?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 01:32 PM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top