aboutsummaryrefslogtreecommitdiff
path: root/COPYING3
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2016-07-21 12:12:18 +0100
committerYao Qi <yao.qi@linaro.org>2016-07-21 12:12:18 +0100
commit8901d1936e4e691f0b3b976f5626ac5a8f27aa7f (patch)
treef3c9bf9aa1e9210d7a221575790b904542cc43ee /COPYING3
parent0e9a339ec8ffab80fdbe97adaf888fe03b73fe22 (diff)
downloadgdb-8901d1936e4e691f0b3b976f5626ac5a8f27aa7f.zip
gdb-8901d1936e4e691f0b3b976f5626ac5a8f27aa7f.tar.gz
gdb-8901d1936e4e691f0b3b976f5626ac5a8f27aa7f.tar.bz2
Use reinsert_breakpoint for vCont;s
This patch is to teach GDBserver using software single step to handle vCont;s. Simply speaking, if the thread's resume request is resume_step, install reinsert breakpoint at the next pcs when GDBserver is about to resume threads. These reinsert breakpoints of a thread are removed, when GDBserver gets an event from that thread and reports it back to GDB. gdb/gdbserver: 2016-07-21 Yao Qi <yao.qi@linaro.org> * linux-low.c (resume_stopped_resumed_lwps): If resume request is resume_step, call maybe_hw_step. (linux_wait_1): Stop all threads, remove reinsert breakpoints, and unstop them. (linux_resume_one_lwp_throw): Don't assert the thread has reinsert breakpoints or not. (proceed_one_lwp): If resume request is resume_step, install reinsert breakpoints and call maybe_hw_step.
Diffstat (limited to 'COPYING3')
0 files changed, 0 insertions, 0 deletions