Enable range stepping if software single step is supported
If the target can do software single step, it can do range stepping. gdb/gdbserver: 2016-10-27 Yao Qi <yao.qi@linaro.org> * linux-low.c (linux_supports_agent): Return true if can_software_single_step return true.
This commit is contained in:
parent
8934261877
commit
c38058942e
@ -1,3 +1,8 @@
|
||||
2016-10-27 Yao Qi <yao.qi@linaro.org>
|
||||
|
||||
* linux-low.c (linux_supports_range_stepping): Return true if
|
||||
can_software_single_step return true.
|
||||
|
||||
2016-10-27 Yao Qi <yao.qi@linaro.org>
|
||||
|
||||
* inferiors.c (find_inferior_in_random): New function.
|
||||
|
@ -6519,6 +6519,8 @@ linux_supports_agent (void)
|
||||
static int
|
||||
linux_supports_range_stepping (void)
|
||||
{
|
||||
if (can_software_single_step ())
|
||||
return 1;
|
||||
if (*the_low_target.supports_range_stepping == NULL)
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user