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/ppcobsd-tdep.c | |
parent | 36d46afba6409208a8344aad8700c14eaa51b59d (diff) | |
download | gdb-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.c | 4 |
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 |