From 04b3479c3f92e102c5a7d1158ab608e0015252c6 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 3 Nov 2015 13:33:12 -0500 Subject: [PATCH] linux-aarch32-low.c: Use NULL_REGSET MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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. --- gdb/gdbserver/ChangeLog | 4 ++++ gdb/gdbserver/linux-aarch32-low.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 = -- 2.30.2