Enable conditional breakpoints for targets that support software single step 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:36 +0000 (11:40 -0500)
commitbd2b290956e9a1931cf593b0f2cc934867da1d45
treef01694d2421296556305d460ae380bb1aa7ab0df
parent7fe5e27e9d63b065731b1b0b69ffd344942f4f39
Enable conditional breakpoints for targets that support software single step in GDBServer

This patch enables support for conditional breakpoints if the target supports
software single step.

This was disabled before as the implementations of software single step were too
simple as discussed in
https://sourceware.org/ml/gdb-patches/2015-04/msg01110.html.

Since these issues are now fixed support can be added back.

New tests passing :
PASS: gdb.base/cond-eval-mode.exp: set breakpoint condition-evaluation
target and related...

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

gdb/gdbserver/ChangeLog:

* server.c (handle_query): Call target_supports_software_single_step.
gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c