From: Simon Marchi Date: Tue, 3 Nov 2015 18:33:12 +0000 (-0500) Subject: linux-aarch32-low.c: Use NULL_REGSET X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=04b3479c3f92e102c5a7d1158ab608e0015252c6;p=binutils-gdb.git linux-aarch32-low.c: Use NULL_REGSET Fixes /home/simark/src/binutils-gdb/gdb/gdbserver/linux-aarch32-low.c:124:1: error: invalid conversion from ‘int’ to ‘regset_type’ [-fpermissive] }; ^ gdb/gdbserver/ChangeLog: * linux-aarch32-low.c (aarch32_regsets): Use NULL_REGSET. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 838589da453..ff0af3a4517 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2015-11-03 Simon Marchi + + * linux-aarch32-low.c (aarch32_regsets): Use NULL_REGSET. + 2015-11-03 Simon Marchi * linux-ppc-low.c (ppc_get_hwcap): Add cast. diff --git a/gdb/gdbserver/linux-aarch32-low.c b/gdb/gdbserver/linux-aarch32-low.c index 5876b1304f2..891f8cd4592 100644 --- a/gdb/gdbserver/linux-aarch32-low.c +++ b/gdb/gdbserver/linux-aarch32-low.c @@ -120,7 +120,7 @@ static struct regset_info aarch32_regsets[] = { { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_ARM_VFP, 32 * 8 + 4, EXTENDED_REGS, arm_fill_vfpregset, arm_store_vfpregset }, - { 0, 0, 0, -1, -1, NULL, NULL } + NULL_REGSET }; static struct regsets_info aarch32_regsets_info =