[PATCH 1/2] [gdbserver] Rename supports_conditional_breakpoints to supports_hardware_single_step

Yao Qi qiyaoltc@gmail.com
Tue Sep 8 14:32:00 GMT 2015


Antoine Tremblay <antoine.tremblay@ericsson.com> writes:

Hi Antoine,

> Could we generalize this even more to supports_single_step like your
> next patch ?
>

I am not sure.

> Since I'm working on software single stepping for ARM, if this patch
> goes in I'll need to implement a supports_software_single_step and
> enable ConditionalBreakpoints for this case too...

Nowadays, GDBserver only support conditional breakpoint for HW single
step target.  Whether GDBserver support conditional breakpoint for SW
single step target is a separate issue, and we can decide this once we
have SW single step in GDBserver.

I believe GDBserver can compute the next instruction of $PC for SW
single step, but GDBserver execution control (target independent part)
will be more complicated if SW single step is involved in.

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list