[PATCH v3] Fix PTRACE_GETREGSET failure for compat inferiors on arm64

Yao Qi qiyaoltc@gmail.com
Thu Jan 26 23:23:00 GMT 2017


On Thu, Jan 19, 2017 at 9:00 PM, Kees Cook <keescook@chromium.org> wrote:
>

The patch is good to me, some nits below,

> gdb/ChangeLog:
>
> 2016-12-19  Kees Cook  <keescook@google.com>
>
>     * gdb/arm-linux-nat.c: Skip soft-float registers when using hard-float.

* gdb/arm-linux-nat.c (arm_linux_fetch_inferior_registers): Call fetch_fpregs
if target has fpa registers.
(arm_linux_store_inferior_registers): Call store_fpregs if target has
fpa registers.

>      }
> -  else
> +  else
>      {

Unnecessary change.  I'll push your patch in tomorrow.

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list