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?