Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2-machine debugging problem




On Jun 9, 2005, at 7:30 PM, Jim Wintermyre wrote:

I'm having a problem with 2-machine debugging that I don't recall happening before. I can't seem to view any of my source in gdb. It gives me errors saying the file can't be found. However, the weird thing is that once I load my symbol files I can set breakpoints by line numbers in the file, i.e. "b foo.c:24", and that works just fine. The breakpoints are hit correctly, but I still can't view the corresponding source. Any ideas?

Make sure that the sources you want to look at are in the same location they were when the module was built. You can use the 'dir' command in gdb to add a directory to the search path; individual files (not subpaths) are looked for there as well.


 = Mike

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden
References: 
 >2-machine debugging problem (From: Jim Wintermyre <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.