[PATCH 4/8] linux-nat.c: clean up pending status checking and resuming LWPs
Yao Qi
yao@codesourcery.com
Tue Jan 6 08:12:00 GMT 2015
Pedro Alves <palves@redhat.com> writes:
> Whenever we resume an LWP, we must clear a few flags and flush the
> LWPs register cache. Instead of open coding that in many places, use
> an helper function.
After this patch, the behavior is changed to flush the LWP's register
cache rather than register cache of all LWPs (registers_changed ->
registers_changed_ptid (lp->ptid)), right? Although I believe the
change is correct, we should mention it in the commit log.
--
Yao (齐尧)
More information about the Gdb-patches
mailing list