From e7fe10114995aee4d7012f287e5b8fee74c60fd8 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Thu, 31 Mar 2022 16:32:50 +0100 Subject: 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. --- gdb/m32c-tdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/m32c-tdep.c') 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. */ -- cgit v1.1