News:

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

Main Menu

How to configure remote debug option with serial port?

Started by 198710, February 11, 2010, 07:45:53 AM

Previous topic - Next topic

198710

I set up a debian virtual machine inside virtualbox and enabled a serial port "COM1","Host Pipe",and give out a file path with "Create Pipe" option enabled.
Then I copied a debug file to debian via nfs-server,and started gdbserver on it.("gdbserver /dev/ttyS0 xxx")
I configured CB's remote debug option:
connection type:Serial Port
Serial Port:xxx(the file and its absolute directory is the same as the "file path" in virtualbox,is this correct?)
Baud:9600

I started to debug with the debug button,and the CB's debugger console says:
Setting serial connection speed to 9600
Connecting to remote target
Setting breakpoints
Debugger name and version: GNU gdb 6.8-debian
Connected
The program is not being run.
Debugger finished with status 0

What's wrong?

198710

55 views & no reply...
My incorrect settings or a bug of CB?
Any help will be appreciated.

mariocup

Hi,

does everything work if you use the gdb in the command line with serial interface?