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/sh-tdep.c | |
parent | 36d46afba6409208a8344aad8700c14eaa51b59d (diff) | |
download | gdb-3ca7dae4ddfb3363458d866428e45fb5e9b6914b.zip gdb-3ca7dae4ddfb3363458d866428e45fb5e9b6914b.tar.gz gdb-3ca7dae4ddfb3363458d866428e45fb5e9b6914b.tar.bz2 |
Constify regset structures.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r-- | gdb/sh-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 85f8067..0c1fbed 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -2195,14 +2195,14 @@ sh_corefile_collect_regset (const struct regset *regset, /* The following two regsets have the same contents, so it is tempting to unify them, but they are distiguished by their address, so don't. */ -struct regset sh_corefile_gregset = +const struct regset sh_corefile_gregset = { NULL, sh_corefile_supply_regset, sh_corefile_collect_regset }; -static struct regset sh_corefile_fpregset = +static const struct regset sh_corefile_fpregset = { NULL, sh_corefile_supply_regset, |