HomeStoreForumsWikiiPhone Native AppsiPhone AppsiPhone Apps modmyifone Downloadsmodmyifone Links






Go Back   ModMyiFone.com - iPhone | iPod Touch forums, news, apps, themes. > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion
Register FAQ Members List READ THIS Today's Posts Mark Forums Read

iPhone / iPod Touch SDK | Development Discussion SDK questions. A place for iPhone developers to post code snippets, discuss creating iPhone apps, and any other iPhone developing.


iPhone Optimized MMi | Browser Optimized MMi

Get more out of ModMyiFone by joining our free community. By registering you get privileges to download files from our downloads section and you may also post your questions in our forums! It's fast, free, and easy!

Opportunities at MMi | 1.1.4 Unlock|Jailbreak OS X / Win
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-28-2008, 05:05 AM
What's Jailbreak?
 
Join Date: Mar 2008
Device + Firmware: iPhone 1.1.3
Operating System: Leopard
Posts: 1
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

  ModMyiFone.com - iPhone | iPod Touch forums, news, apps, themes. > 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

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

ModMyMoto.com - ModMyGPhone.com - ModMyiFone.com - Managed Dedicated Servers by SingleHop - iPhone Wallpapers - Contact Us - Link to us - Archive - Privacy Statement - - Top
Copyright © 2007-08 by ModMy, LLC. All rights reserved. You may not copy anything on this site unless you link to the original.
All times are GMT -6. The time now is 12:42 PM. Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
ModMyiFone.com is an independent publication and has not been authorized, sponsored, or otherwise approved by Apple, Inc or Cisco Systems, Inc. The information contained on this site is for educational purposes only.
Forum skin by poetic_folly