aboutsummaryrefslogtreecommitdiff
path: root/gdb/nios2-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/nios2-linux-tdep.c
parent36d46afba6409208a8344aad8700c14eaa51b59d (diff)
downloadgdb-3ca7dae4ddfb3363458d866428e45fb5e9b6914b.zip
gdb-3ca7dae4ddfb3363458d866428e45fb5e9b6914b.tar.gz
gdb-3ca7dae4ddfb3363458d866428e45fb5e9b6914b.tar.bz2
Constify regset structures.
Diffstat (limited to 'gdb/nios2-linux-tdep.c')
-rw-r--r--gdb/nios2-linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nios2-linux-tdep.c b/gdb/nios2-linux-tdep.c
index 792a4da..d9a51a8 100644
--- a/gdb/nios2-linux-tdep.c
+++ b/gdb/nios2-linux-tdep.c
@@ -73,7 +73,7 @@ nios2_supply_gregset (const struct regset *regset,
}
}
-static struct regset nios2_core_regset =
+static const struct regset nios2_core_regset =
{
NULL,
nios2_supply_gregset,