RTEMS | libdebugger/rtems-debugger-*.c: Address ignored qualifier warnings (!803)
Chris Johns (@chris)
gitlab at rtems.org
Thu Oct 16 21:48:37 UTC 2025
Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/803 was reviewed by Chris Johns
--
Chris Johns started a new discussion on cpukit/libdebugger/rtems-debugger-aarch64.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/803#note_135090
>
> -static const uint64_t rtems_debugger_get_int_reg(
> +static uint64_t rtems_debugger_get_int_reg(
Why is using `const` here considered an issue?
The intent to say the value returned is constant and cannot be changed and is to enforce a statically checked `const` trail.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/803
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20251016/b4380d20/attachment.htm>
More information about the bugs
mailing list