Constify regset structures.

This commit is contained in:
Andreas Arnez
2014-03-03 09:31:21 +00:00
committed by Andreas Krebbel
parent 36d46afba6
commit 3ca7dae4dd
25 changed files with 71 additions and 39 deletions

View File

@@ -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