Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

CFM App has no stack trace under Rosetta

 
   Mac (Home) -> Programmer Code RSS
Next:  For sale: CodeWarrior Gold 5 CD, etc  
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
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Bug in alloc.c? - I'm getting an infinite loop in alloc.c, which is located in MSL/MSL_C/MSL_Common/Src. This is with CW 9.5. The function is allocate_from_var_pools. There is a do/while loop that searches for a block with the required size to allocate a block of..

Multiply defined symbol: .bss - Hi, when trying to build a dll for Windows using CW9 on MacOS, I get an error message like: Link Error : Multiply defined symbol: .bss in files file1.cpp, file2.cpp The same message with the same filenames is repeated several times, but....

Where next? - Hi folks, All of my recent Mac coding has been Carbon C++, mostly using PowerPlant as a framework. As most of my clients are moving to X and CW's future is, shall we say, uncertain I'm wondering where to look for my future coding setup. I've dabbled....

Does mwcc work on Tiger? - Anybody using the comand line compilers on 10.4? When saving the following simple program as /tmp/x.cpp: int main() { double x = 0.5; return 0; } and trying to compile it with $ mwcc -c /tmp/x.cpp , I get the error message Error :....

Console app "file" selector - Hello, I feel like I've asked this before, but I did a search on the archives and came up short. I've got a console std c app that I'm compiling with CW. When it runs, it pops up a little menu where I can type in some command line arguments (for..
       Mac (Home) -> Programmer Code All times are: Pacific Time (US & Canada) (change)
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
Categories:
 Windows Forums
 Game Forums
 Linux Forums
  Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact