Re: [PATCH 03/16] gdb: make gdbarch_register_reggroup_p take a const reggroup *

Andrew Burgess via Gdb-patches
2022-04-05T08:25:19Z

Lancelot SIX via Gdb-patches <gdb-patches@sourceware.org> writes:

> Hi,
>
>> diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
>> index 4d0f3492410..c857f5ca7d1 100644
>> --- a/gdb/arm-tdep.c
>> +++ b/gdb/arm-tdep.c
>> @@ -8986,7 +8986,7 @@ arm_elf_osabi_sniffer (bfd *abfd)
>>
>> static int
>> arm_register_reggroup_p (struct gdbarch *gdbarch, int regnum,
>> - struct reggroup *group)
>> + const struct reggroup *group)
> ^
> Small nit, looks like you dropped a space here.

The original line had an extra space, the 'c' of const was aligned to
the 't' of struct above it, so I have removed the extra space here, but
that was intentional.

Always happy to check these things though.

Thanks,
Andrew