This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/4] Simplify regcache_dup
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>, gdb-patches at sourceware dot org
- Date: Fri, 28 Apr 2017 16:03:42 +0100
- Subject: Re: [PATCH 2/4] Simplify regcache_dup
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=palves at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com E792FC05AA43
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com E792FC05AA43
- References: <1493152106-3246-1-git-send-email-yao.qi@linaro.org> <1493389594-24434-1-git-send-email-yao.qi@linaro.org> <1493389594-24434-3-git-send-email-yao.qi@linaro.org>
On 04/28/2017 03:26 PM, Yao Qi wrote:
> regcache_dup, in fact, is to create a readonly regcache from a
> non-readonly regcache. This patch adds an assert that src is not
> readonly.
LGTM.
Thanks,
Pedro Alves