RTEMS | cpukit/libdebugger: Add support for TLS variables (!517)

Chris Johns (@chris) gitlab at rtems.org
Wed Jun 25 23:36:07 UTC 2025




Chris Johns started a new discussion on cpukit/libdebugger/rtems-debugger-server.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/517#note_125376

 > +  if (r < 0) {
 > +    return NULL;
 > +  }
 > +
 > +  current = rtems_debugger_thread_current(threads);
 > +  return &current[r];
 > +}
 > +
 > +static int
 > +parse_get_tls_addr(
 > +  uint8_t* buffer,
 > +  int size,
 > +  const char **thread_id_str,
 > +  const char **offset_str,
 > +  const char **lm_str
 > +)

Please use the style in the existing code.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/517#note_125376
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/20250625/5281e971/attachment-0001.htm>


More information about the bugs mailing list