aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-ppc-low.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-10-29 12:55:02 +0000
committerPedro Alves <palves@redhat.com>2015-10-29 12:55:02 +0000
commit50bc912a2074c974c9c5074e674e9149a33b64c2 (patch)
tree31bbb67462bc5818b6c55dac52eae3dbc79ec8c8 /gdb/gdbserver/linux-ppc-low.c
parent44a8b4df1d6f5b8096f01787751fd51c42e78fc6 (diff)
downloadgdb-50bc912a2074c974c9c5074e674e9149a33b64c2.zip
gdb-50bc912a2074c974c9c5074e674e9149a33b64c2.tar.gz
gdb-50bc912a2074c974c9c5074e674e9149a33b64c2.tar.bz2
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-ppc-low.c')
-rw-r--r--gdb/gdbserver/linux-ppc-low.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/linux-ppc-low.c b/gdb/gdbserver/linux-ppc-low.c
index 6e6a936..9e223ea 100644
--- a/gdb/gdbserver/linux-ppc-low.c
+++ b/gdb/gdbserver/linux-ppc-low.c
@@ -657,7 +657,7 @@ static struct regset_info ppc_regsets[] = {
{ PTRACE_GETEVRREGS, PTRACE_SETEVRREGS, 0, 32 * 4 + 8 + 4, EXTENDED_REGS,
ppc_fill_evrregset, ppc_store_evrregset },
{ 0, 0, 0, 0, GENERAL_REGS, ppc_fill_gregset, NULL },
- { 0, 0, 0, -1, -1, NULL, NULL }
+ NULL_REGSET
};
static struct usrregs_info ppc_usrregs_info =