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: Kees Cook <keescook at chromium dot org>
- To: Yao Qi <qiyaoltc at gmail dot com>
- 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 08:06:06 -0800
- 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> <20161205102626.5bx5ylt6inrbtjs4@localhost>
On Mon, Dec 5, 2016 at 2:26 AM, Yao Qi <qiyaoltc@gmail.com> wrote:
> 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.
Yup, that part I found. What sets org.gnu.gdb.arm.fpa?
-Kees
--
Kees Cook
Nexus Security