aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppcobsd-tdep.c
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@linux.vnet.ibm.com>2014-03-03 09:31:21 +0000
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2014-05-21 17:49:15 +0200
commit3ca7dae4ddfb3363458d866428e45fb5e9b6914b (patch)
treea53dfc1429dbc0f91a63b1ea5fc7b0d7c306695f /gdb/ppcobsd-tdep.c
parent36d46afba6409208a8344aad8700c14eaa51b59d (diff)
downloadgdb-3ca7dae4ddfb3363458d866428e45fb5e9b6914b.zip
gdb-3ca7dae4ddfb3363458d866428e45fb5e9b6914b.tar.gz
gdb-3ca7dae4ddfb3363458d866428e45fb5e9b6914b.tar.bz2
Constify regset structures.
Diffstat (limited to 'gdb/ppcobsd-tdep.c')
-rw-r--r--gdb/ppcobsd-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ppcobsd-tdep.c b/gdb/ppcobsd-tdep.c
index ac60bcc..2cdf687 100644
--- a/gdb/ppcobsd-tdep.c
+++ b/gdb/ppcobsd-tdep.c
@@ -71,13 +71,13 @@ ppcobsd_collect_gregset (const struct regset *regset,
/* OpenBSD/powerpc register set. */
-struct regset ppcobsd_gregset =
+const struct regset ppcobsd_gregset =
{
&ppcobsd_reg_offsets,
ppcobsd_supply_gregset
};
-struct regset ppcobsd_fpregset =
+const struct regset ppcobsd_fpregset =
{
&ppcobsd_fpreg_offsets,
ppc_supply_fpregset