This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH c++ 05/12] linux-aarch32-low.c: Use NULL_REGSET
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: Simon Marchi <simon dot marchi at polymtl dot ca>
- Date: Tue, 3 Nov 2015 09:26:37 -0500
- Subject: [PATCH c++ 05/12] linux-aarch32-low.c: Use NULL_REGSET
- Authentication-results: sourceware.org; auth=none
- References: <1446560804-18858-1-git-send-email-simon dot marchi at ericsson dot com>
From: Simon Marchi <simon.marchi@polymtl.ca>
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/linux-aarch32-low.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 =
--
2.5.1