[PATCH 3/7] range stepping: gdbserver on x86/linux

Yao Qi yao@codesourcery.com
Wed May 15 07:40:00 GMT 2013


On 05/15/2013 02:30 AM, Pedro Alves wrote:
>   - it assumes GDB will ever only send one r action per vCont.  I'd much
>     rather we don't bake in that assumption.
>

I am afraid not.  It works for multiple r actions in one vCont.

>   - It seems like this leaves threads with stale step ranges.  Because
>     linux-low.c only clears the stepping range of the thread that is reporting
>     the event (here):

OK.  Looks we need to call thread_clear_range_stepping for the thread we 
parsed in handle_v_cont first.

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list