Hello,
This patch add a new option "--cob" to gdbserver. When gdbserver called with this option, it will open support of continue over breakpoints.
Then we can use testsuite test the function of continue over breakpoints.
To support this function, I add new function step_over_breakpoints to let the thread that is stop by breakpoints before continue all theads. It is not very fast. But I think for test is OK. Please give me more comments about it.
Thanks,
Hui
2013-03-03 Hui Zhu <hui_zhu@mentor.com>
* server.c (use_cob): New.
(handle_query): Check use_cob.
(step_over_breakpoints): New.
(handle_v_cont): Check use_cob. If need, handle continue over
breakpoints.
(gdbserver_usage): Add "--cob".
(main): Ditto.