Code::Blocks Forums

User forums => Embedded development => Topic started by: grass on July 12, 2009, 10:25:42 am

Title: C::B for PowerPC
Post by: grass on July 12, 2009, 10:25:42 am
Hi All,
I have a powerPC (MPC5121) based board running Linux. I configured tools paths to point to my cross compile tools folder and also specified the path to the cross gdb.
A hello.cpp program compiles but the debugger fails, here is how the output looks

Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Debug
Adding source dir: /home/stas/Work/HelloCB/
Adding source dir: /home/stas/Work/HelloCB/
Adding file: bin/Debug/HelloCB
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb Fedora (6.8-23.fc9)
Program exited with code 01.
Debugger finished with status 0


What else do I need to configure to make the remote debugging work?
Title: Re: C::B for PowerPC
Post by: Jenna on July 12, 2009, 10:46:48 am
There are two things you can do: