aboutsummaryrefslogtreecommitdiff
path: root/gdb/m32c-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/m32c-tdep.c
parent1bca9b1e6be9cb45684f38dba0d4d323447a653a (diff)
downloadbinutils-e7fe10114995aee4d7012f287e5b8fee74c60fd8.zip
binutils-e7fe10114995aee4d7012f287e5b8fee74c60fd8.tar.gz
binutils-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/m32c-tdep.c')
-rw-r--r--gdb/m32c-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m32c-tdep.c b/gdb/m32c-tdep.c
index 5a767c9..55ef5a5 100644
--- a/gdb/m32c-tdep.c
+++ b/gdb/m32c-tdep.c
@@ -35,7 +35,7 @@
/* The m32c tdep structure. */
-static struct reggroup *m32c_dma_reggroup;
+static const reggroup *m32c_dma_reggroup;
/* The type of a function that moves the value of REG between CACHE or
BUF --- in either direction. */