This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 4/8] linux-nat.c: clean up pending status checking and resuming LWPs
- From: Yao Qi <yao at codesourcery dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Tue, 6 Jan 2015 16:12:46 +0800
- Subject: Re: [PATCH 4/8] linux-nat.c: clean up pending status checking and resuming LWPs
- Authentication-results: sourceware.org; auth=none
- References: <1419625871-28848-1-git-send-email-palves at redhat dot com> <1419625871-28848-5-git-send-email-palves at redhat dot com>
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 (éå)