GDB_CFM_XSYM_PATH
should
contain the list of directories where gdb will look for xSYM files.
Example of setting up this path:
export
GDB_CFM_XSYM_PATH=/Volumes/Work/MyCFMApp/:/Volumes/Work/MyCFMLibrary/
|
|
Now GDB should load the MyCFMApp.xSYM file for your app. You can
press ctrl+c
to stop the app, and you should be able to
get a stacktrace with the where
command. This stacktrace
should contain sourcecodeline information.
sudo xsym4gdb_select xsy |
/System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp
"!/Volumes/WorkHD/MyCFMDir/MyCFMApp
)GDB_CFM_XSYM_PATH
". With a directory name
containing your .xSYM files for the CFM application.