Re: [PATCH 09/12] Make reinsert_breakpoint thread specific

Pedro Alves
2016-06-14T12:57:00Z

On 06/14/2016 01:52 PM, Yao Qi wrote:
> Pedro Alves <palves@redhat.com> writes:
>
>>> - uninsert_reinsert_breakpoints ();
>>> + uninsert_reinsert_breakpoints (ptid_of_lwp (event_lwp));
>>> current_thread = saved_thread;
>>
>> Would it work to pass down the thread pointer directly?
>>
>> That would then allow pushing down the save current thread / restore
>> current thread juggling to uninsert_reinsert_breakpoints too.
>
> Yes, see the patch below,
>

LGTM.

Thanks,
Pedro Alves