Hi there,
There seems to be no way to debug CFM applications built with CW10 on
my MacBook.
Starting the debugging session the usual way as described in the UB
docs works fine:
setenv OAH_GDB YES
LaunchCFMApp /<path>/<your_application>.app/Contents/MacOS/
<your_application>
gdb --oah
attach LaunchCFMApp
'c'
When hitting breakpoints the stack is quite useless, e.g. looking
like:
(gdb) bt
#0 0x90d5e620 in DebugStr ()
#1 0x854b61ac in marker.0 ()
#2 0x854b6a1c in marker.0 ()
#3 0x854b5ed4 in marker.0 ()
#4 0x854b6880 in marker.0 ()
#5 0x8552bbc8 in marker.0 ()
#6 0x85506d7c in marker.0 ()
#7 0x85506c8c in marker.0 ()
#8 0x8550e524 in marker.0 ()
#9 0x90ce2228 in PrivateMPEntryPoint ()
#10 0x90ce2228 in PrivateMPEntryPoint ()
#11 0x9002bbe8 in _pthread_body ()
Does debugging with GDB work for anybody with CW/Rosetta apps?
Should I change some mystical compiler/linker option?
thanks,
Jan