diff options
author | Pedro Alves <palves@redhat.com> | 2015-10-29 12:55:02 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-10-29 12:55:02 +0000 |
commit | 50bc912a2074c974c9c5074e674e9149a33b64c2 (patch) | |
tree | 31bbb67462bc5818b6c55dac52eae3dbc79ec8c8 /gdb/gdbserver/linux-sparc-low.c | |
parent | 44a8b4df1d6f5b8096f01787751fd51c42e78fc6 (diff) | |
download | binutils-gdb-50bc912a2074c974c9c5074e674e9149a33b64c2.tar.gz |
gdbserver/Linux: Introduce NULL_REGSET
Fixes errors like:
src/gdb/gdbserver/linux-x86-low.c:477:1: error: invalid conversion from 'int' to 'regset_type' [-fpermissive]
gdb/gdbserver/ChangeLog:
2015-10-29 Pedro Alves <palves@redhat.com>
* linux-low.h (NULL_REGSET): Define.
* linux-aarch64-low.c (aarch64_regsets): Use NULL_REGSET.
* linux-arm-low.c (arm_regsets): Likewise.
* linux-crisv32-low.c (cris_regsets): Likewise.
* linux-m68k-low.c (m68k_regsets): Likewise.
* linux-mips-low.c (mips_regsets): Likewise.
* linux-nios2-low.c (nios2_regsets): Likewise.
* linux-ppc-low.c (ppc_regsets): Likewise.
* linux-s390-low.c (s390_regsets): Likewise.
* linux-sh-low.c (sh_regsets): Likewise.
* linux-sparc-low.c (sparc_regsets): Likewise.
* linux-tic6x-low.c (tic6x_regsets): Likewise.
* linux-tile-low.c (tile_regsets): Likewise.
* linux-x86-low.c (x86_regsets): Likewise.
* linux-xtensa-low.c (xtensa_regsets): Likewise.
Diffstat (limited to 'gdb/gdbserver/linux-sparc-low.c')
-rw-r--r-- | gdb/gdbserver/linux-sparc-low.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/linux-sparc-low.c b/gdb/gdbserver/linux-sparc-low.c index 0691867a74e..e6a4f844ef2 100644 --- a/gdb/gdbserver/linux-sparc-low.c +++ b/gdb/gdbserver/linux-sparc-low.c @@ -291,7 +291,7 @@ static struct regset_info sparc_regsets[] = { { PTRACE_GETFPREGS, PTRACE_SETFPREGS, 0, sizeof (fpregset_t), FP_REGS, sparc_fill_fpregset, sparc_store_fpregset }, - { 0, 0, 0, -1, -1, NULL, NULL } + NULL_REGSET }; static struct regsets_info sparc_regsets_info = |