Enable software single stepping for while-stepping actions in GDBServer
authorAntoine Tremblay <antoine.tremblay@ericsson.com>
Fri, 18 Dec 2015 16:33:59 +0000 (11:33 -0500)
committerAntoine Tremblay <antoine.tremblay@ericsson.com>
Fri, 18 Dec 2015 16:40:23 +0000 (11:40 -0500)
commit7fe5e27e9d63b065731b1b0b69ffd344942f4f39
tree094b324380572b2331d6dcc59fbaf67d5f447828
parentd9311bfaf572cf14af577a66e79c51c491553552
Enable software single stepping for while-stepping actions in GDBServer

This patch enables software single stepping if the targets support it,
to do while-stepping actions.

No regressions, tested on ubuntu 14.04 ARMv7 and x86.
With gdbserver-{native,extended} / { -marm -mthumb }

gdb/gdbserver/ChangeLog:

* linux-low.c (single_step): New function.
(linux_resume_one_lwp_throw): Call single_step.
(start_step_over): Likewise.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c