aboutsummaryrefslogtreecommitdiff
path: root/gdb/alpha-linux-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/alpha-linux-tdep.c
parent36d46afba6409208a8344aad8700c14eaa51b59d (diff)
downloadgdb-3ca7dae4ddfb3363458d866428e45fb5e9b6914b.zip
gdb-3ca7dae4ddfb3363458d866428e45fb5e9b6914b.tar.gz
gdb-3ca7dae4ddfb3363458d866428e45fb5e9b6914b.tar.bz2
Constify regset structures.
Diffstat (limited to 'gdb/alpha-linux-tdep.c')
-rw-r--r--gdb/alpha-linux-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/alpha-linux-tdep.c b/gdb/alpha-linux-tdep.c
index 0f39968..52f19d0 100644
--- a/gdb/alpha-linux-tdep.c
+++ b/gdb/alpha-linux-tdep.c
@@ -206,13 +206,13 @@ alpha_linux_supply_fpregset (const struct regset *regset,
regcache_raw_supply (regcache, ALPHA_FPCR_REGNUM, regs + 31 * 8);
}
-static struct regset alpha_linux_gregset =
+static const struct regset alpha_linux_gregset =
{
NULL,
alpha_linux_supply_gregset
};
-static struct regset alpha_linux_fpregset =
+static const struct regset alpha_linux_fpregset =
{
NULL,
alpha_linux_supply_fpregset