diff options
author | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2014-03-03 09:31:21 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2014-05-21 17:49:15 +0200 |
commit | 3ca7dae4ddfb3363458d866428e45fb5e9b6914b (patch) | |
tree | a53dfc1429dbc0f91a63b1ea5fc7b0d7c306695f /gdb/ppcnbsd-tdep.c | |
parent | 36d46afba6409208a8344aad8700c14eaa51b59d (diff) | |
download | gdb-3ca7dae4ddfb3363458d866428e45fb5e9b6914b.zip gdb-3ca7dae4ddfb3363458d866428e45fb5e9b6914b.tar.gz gdb-3ca7dae4ddfb3363458d866428e45fb5e9b6914b.tar.bz2 |
Constify regset structures.
Diffstat (limited to 'gdb/ppcnbsd-tdep.c')
-rw-r--r-- | gdb/ppcnbsd-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ppcnbsd-tdep.c b/gdb/ppcnbsd-tdep.c index 58e6599..6fe8477 100644 --- a/gdb/ppcnbsd-tdep.c +++ b/gdb/ppcnbsd-tdep.c @@ -42,13 +42,13 @@ struct ppc_reg_offsets ppcnbsd_reg_offsets; /* NetBSD/powerpc register sets. */ -struct regset ppcnbsd_gregset = +const struct regset ppcnbsd_gregset = { &ppcnbsd_reg_offsets, ppc_supply_gregset }; -struct regset ppcnbsd_fpregset = +const struct regset ppcnbsd_fpregset = { &ppcnbsd_reg_offsets, ppc_supply_fpregset |