This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix PTRACE_GETREGSET failure for compat inferiors on arm64
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Kees Cook <keescook at chromium dot org>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, Brian Murray <brian dot murray at canonical dot com>, Matthias Klose <matthias dot klose at canonical dot com>
- Date: Mon, 5 Dec 2016 10:26:26 +0000
- Subject: Re: [PATCH] Fix PTRACE_GETREGSET failure for compat inferiors on arm64
- Authentication-results: sourceware.org; auth=none
- References: <20161202214613.GA54717@beast> <20161202224952.panaxwmmrx4emord@localhost> <CAGXu5jLGWLrvJCQXqRxcoi2=rz1nxXY9oZGUDwxrRnVrSkscrQ@mail.gmail.com> <CAH=s-PMKO55qJDUvBjfdO+0Fve4Z1ESY9PdGYYYNh7OoYMPF7A@mail.gmail.com> <CAGXu5j+FYErBYAbLPD3jSyc4Z5VxihjwV==JyT51JF48Xezh0A@mail.gmail.com>
On 16-12-04 11:30:36, Kees Cook wrote:
> Right, I was asking how the target description is built. I couldn't
> determine where FPA was detected.
>
It is detected in arm-tdep.c:arm_gdbarch_init, which looks for feature
org.gnu.gdb.arm.fpa, and set have_fpa_registers to 1 if this feature is
found.
--
Yao