News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Remote debug with GDB

Started by Djagawa, April 05, 2006, 10:29:34 AM

Previous topic - Next topic

Djagawa

Hello,

I'm trying to use remote debug with GDB in C::B.

So, I modified the plugin provided in the source code of C::B.
I deleted some lines which send commands to GDB, like "set confirm off", "set new-console on"... and I put a line to send the command "target remote ip:port". The debug works, except some error messages !

However, I have a little bug. When I'm running the debug, the line (of my C code) in progress is not highlighted. In the normal debug, the line in progress is blue, but with my plugin version there is no blue line. What is the problem ? I have only comments SendCommand() fonction line.

Another problem is shared libraries.
I work in a Windows host PC and my target is a Linux PC. So, when I launch GDB in remote debug, I have some errors to read shared library symbols which are not in the host PC.

Thanks for your answers.