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.
This commit is contained in:
Simon Marchi 2015-11-03 13:33:12 -05:00 committed by Simon Marchi
parent f4b0a6714a
commit 04b3479c3f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-11-03 Simon Marchi <simon.marchi@polymtl.ca>
* linux-aarch32-low.c (aarch32_regsets): Use NULL_REGSET.
2015-11-03 Simon Marchi <simon.marchi@polymtl.ca>
* linux-ppc-low.c (ppc_get_hwcap): Add cast.

View File

@ -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 =