Welcome to MacForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

CFM App has no stack trace under Rosetta

 
   Macintosh computer (Home) -> Programmer Code RSS
Next:  Airport Express and Vista  
Author Message
groups

External


Since: Aug 04, 2007
Posts: 1



(Msg. 1) Posted: Sat Aug 04, 2007 6:03 am
Post subject: CFM App has no stack trace under Rosetta
Archived from groups: comp>sys>mac>programmer>codewarrior (more info?)

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

 >> Stay informed about: CFM App has no stack trace under Rosetta 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Stack trace - Hello, I have had problems with the Apple color picker crashing, and someone from Apple wants me to send them a stack trace when I get the crash. How do I get that from Codewarrior? Can I output the full stack trace to a file? Thanks! Bint

back trace - Hi, I have a message that show up in the console saying that a ptr as double free(). When I see the message I do not know what triggered it. Is there a way to trigger the debuger at the moment when that happen? I tryed to trace in free() but it is only...

CodeWarrior 10.1 for Intel/Rosetta Debugging? - Hi, I know that CW 10 is PowerPC only, but it would be really nice to be able to continue using it on the Intel boxes. I remember that the old Bronze 68K versions of CodeWarrior continued to work and were debug-able on the PowerPC, so in traditional..

Stack size - I use Codewarrior on Mac OS9 to program shared libraries for use with LabVIEW application. Can i increase the Stack size on the shared libs? I can not seem to find out this.. Hans J

displaying carbon stack - How can I see the proc names on the call stack for Carbon in the CodeWarrior debugger? CFM. Is there some symbols I can include in my .SYM file? Thanks, Anders.
   Macintosh computer (Home) -> Programmer Code All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]