This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] linux-aarch32-low.c: Use NULL_REGSET
- From: Simon Marchi <simark at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 3 Nov 2015 18:35:00 -0000
- Subject: [binutils-gdb] linux-aarch32-low.c: Use NULL_REGSET
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=04b3479c3f92e102c5a7d1158ab608e0015252c6
commit 04b3479c3f92e102c5a7d1158ab608e0015252c6
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Tue Nov 3 13:33:12 2015 -0500
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:
---
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 838589d..ff0af3a 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,9 @@
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.
(ppc_fill_vsxregset): Likewise.
(ppc_store_vsxregset): Likewise.
diff --git a/gdb/gdbserver/linux-aarch32-low.c b/gdb/gdbserver/linux-aarch32-low.c
index 5876b13..891f8cd 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 =