This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v4 3/4] gdbserver: Support read-only regsets in linux-low.c
- From: Pedro Alves <palves at redhat dot com>
- To: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>, gdb-patches at sourceware dot org
- Date: Fri, 12 Dec 2014 12:21:00 +0000
- Subject: Re: [PATCH v4 3/4] gdbserver: Support read-only regsets in linux-low.c
- Authentication-results: sourceware.org; auth=none
- References: <1418379431-14407-1-git-send-email-arnez at linux dot vnet dot ibm dot com> <1418379431-14407-4-git-send-email-arnez at linux dot vnet dot ibm dot com>
On 12/12/2014 10:16 AM, Andreas Arnez wrote:
> For GNU/Linux targets using the regsets interface, this change
> supports regsets that can be read but not written. The S390 "last
> break" regset is an example. So far it had been defined with
> regset->set_request == PTRACE_GETREGSET, such that the respective
> ptrace call does not cause any harm. Now we just skip the whole
> read/modify/write sequence for regsets that do not define a
> fill_function.
Looks good to me.
Thanks,
Pedro Alves