This does not happen in my tests. C::B sends the correct continue command, when I'm remote debugging.
I've tested on windows and linux, both worked.
I've tested with CB from the debuggers branch.
Edit: If you can't fix the continue/run problem please provide simple example project, please setup it to connect to localhost:1234 and specify all steps required to reproduce the problem...
I've attached a simple helloworld project. I am testing with Code::Blocks 10.05 on Windows. This is the behavior that I observe...
Situation 1:
Make sure "Do *not* run debugee" is checked off (enabled). In one window in the helloworld directory run "gdbserver :1234 bin\Debug\helloworld.exe". In Code::Blocks press the "run/continue" button. You will see the gdbserver report "Remote debugging from host 127.0.0.1". If you press "run/continue" again, it will send "run" to gdb. This causes the gdbserver say "Killing inferior" and exit. The local gdb runs the process locally and a console window pops up.
Situation 2:
Make sure "Do *not* run debugee" is NOT checked off (enabled). In one window in the helloworld directory run "gdbserver :1234 bin\Debug\helloworld.exe". In Code::Blocks press the "run/continue" button. You will see the gdbserver report "Remote debugging from host 127.0.0.1". Then "Hello world!" is printed out in the window with gdbserver and it waits in the while (1) loop.
The behavior in situation 1 is broken. It should send "continue" when you press the "run/continue" so that the process runs where gdbserver is running just like in situation 2.
The workaround I've been using is to use
"define run
continue
end"
in the GDB initialization to redefine run to be the same as continue.
Are you also asking if the stop button not working depends on it being a remote target?
The stop but happens for me too...
Are you saying it works correctly (stops the program) or that it is broken (prints out "Trying to pause running process..." and nothing happens)?