aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68hc11-tdep.c
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2022-03-31 16:32:50 +0100
committerAndrew Burgess <aburgess@redhat.com>2022-04-07 16:01:18 +0100
commite7fe10114995aee4d7012f287e5b8fee74c60fd8 (patch)
treee30f89ec5f814ca00e0f164a7ac19dd1e1647d0b /gdb/m68hc11-tdep.c
parent1bca9b1e6be9cb45684f38dba0d4d323447a653a (diff)
downloadgdb-e7fe10114995aee4d7012f287e5b8fee74c60fd8.zip
gdb-e7fe10114995aee4d7012f287e5b8fee74c60fd8.tar.gz
gdb-e7fe10114995aee4d7012f287e5b8fee74c60fd8.tar.bz2
gdb: more 'const' in gdb/reggroups.{c,h}
Convert the reggroup_new and reggroup_gdbarch_new functions to return a 'const regggroup *', and fix up all the fallout. There should be no user visible changes after this commit.
Diffstat (limited to 'gdb/m68hc11-tdep.c')
-rw-r--r--gdb/m68hc11-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c
index 9d978d8..5c1f204 100644
--- a/gdb/m68hc11-tdep.c
+++ b/gdb/m68hc11-tdep.c
@@ -1346,8 +1346,8 @@ m68hc11_elf_make_msymbol_special (asymbol *sym, struct minimal_symbol *msym)
/* 68HC11/68HC12 register groups.
Identify real hard registers and soft registers used by gcc. */
-static struct reggroup *m68hc11_soft_reggroup;
-static struct reggroup *m68hc11_hard_reggroup;
+static const reggroup *m68hc11_soft_reggroup;
+static const reggroup *m68hc11_hard_reggroup;
static void
m68hc11_init_reggroups (void)