This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 4/8] linux-nat.c: clean up pending status checking and resuming LWPs


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 (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]