Chris Johns created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1342

Project:Branches: 
chris/rtems:chris/main/5635-libdebugger-reg-corruption-32-threads to 
rtems/rtos/rtems:main
Author:   Chris Johns
Assignee: Chris Johns


## Summary

Fix corruption of thread registers with 32 or more threads

The block logic uses `realloc` to resize memory used by `libdebugger` when 
creating a snapshot of threads. Thread registers take a reference to the block 
and if a `realloc` changes the base address any references are invalid. Add 
rebase handler support to blocks that is called when the block base changes and 
add a handler to thread register blocks to rebase a thread's registers.

Exclude threads using both types of names they can have. This lets all names be 
reported in extra thread info packets.

The MR includes a couple formatting clean up changes.

Closes #5635

## Generative AI

None

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1342
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/sent_notifications/4-49h9kl1s9rlx6z621t4bpkp8k-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to