mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
gdb: make the pre-defined register groups const
Convert the 7 global, pre-defined, register groups const, and fix the fall out (a minor tweak required in riscv-tdep.c). There should be no user visible changes after this commit.
This commit is contained in:
@ -1369,7 +1369,7 @@ riscv_print_registers_info (struct gdbarch *gdbarch,
|
||||
}
|
||||
else
|
||||
{
|
||||
struct reggroup *reggroup;
|
||||
const struct reggroup *reggroup;
|
||||
|
||||
if (print_all)
|
||||
reggroup = all_reggroup;
|
||||
|
Reference in New Issue
Block a user