This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Support targets that know how to continue over breakpoints[3/4] -- gdbserver


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.

Attachment: remote-cob-server.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]