aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-nios2-low.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/linux-nios2-low.c')
-rw-r--r--gdb/gdbserver/linux-nios2-low.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/linux-nios2-low.c b/gdb/gdbserver/linux-nios2-low.c
index 95a2d9e..369e89c 100644
--- a/gdb/gdbserver/linux-nios2-low.c
+++ b/gdb/gdbserver/linux-nios2-low.c
@@ -239,7 +239,7 @@ static struct regset_info nios2_regsets[] =
{ PTRACE_GETREGSET, PTRACE_SETREGSET, NT_PRSTATUS,
nios2_num_regs * 4, GENERAL_REGS,
nios2_fill_gregset, nios2_store_gregset },
- { 0, 0, 0, -1, -1, NULL, NULL }
+ NULL_REGSET
};
static struct regsets_info nios2_regsets_info =