Cannot debug C remote application - Solved [message #726673] |
Mon, 19 September 2011 04:46  |
Eclipse User |
|
|
|
Hello,
I have troubles debugging a C applications:
My remote application is running on ARM7 linux powered embedded device.
I tried this:
1. build application in Debug mode on my Linux PC using arm toolchain
2. copied it into the embedded device
3. Launched gdbserver and application on the embedded device (./gdbserver :1234 myApplication)
4. Created a Debug configuration in Eclipse (C/C++ Attach to Application)
with specifying gdb for ARM, IP address and port (1234) number of the listening gdbserver
5. Launched the debugger (the gdbserver confirms connection on the embedded device) and got "No sources available for "Ox40003cbc" in the debug view.
6. When I push start/continue button, the application doesn't stop at break point (main) but exits.
The application just does printf("Hello World!!!\n");
Any idea how can I debug it?
Note: I am able to debug it using, for example, ddd frontend or just lauching
gdb
and then "target remote <ip address>:1234"
But no luck from Eclipse.
Thanks,
Ed
[Updated on: Mon, 19 September 2011 08:28] by Moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.10309 seconds