RTEMS | cpukit/libdebugger/server: Use generic TLS accessor (!636)
Kinsey Moore (@opticron)
gitlab at rtems.org
Tue Jul 29 12:29:58 UTC 2025
Kinsey Moore commented on a discussion on cpukit/libdebugger/rtems-debugger-server.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/636#note_127767
> return 0;
> }
>
> - target_address = thread->tcb->Registers.thread_id;
> + context = &thread->tcb->Registers;
> + target_address = (uintptr_t)_CPU_Get_TLS_thread_pointer(context);
I was using it for line length control, but I can break the line instead. Fixed in latest push.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/636#note_127767
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/20250729/71045ab8/attachment-0001.htm>
More information about the bugs
mailing list