[PATCH] Fix PTRACE_GETREGSET failure for compat inferiors on arm64
Fri Dec 9 09:27:00 GMT 2016
On 16-12-05 08:06:06, Kees Cook wrote:
> On Mon, Dec 5, 2016 at 2:26 AM, Yao Qi <firstname.lastname@example.org> 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?
The remote stub may know the architecture support FPA, and reply the
target description with feature org.gnu.gdb.arm.fpa to GDB.
More information about the Gdb-patches