RTEMS | cpukit/libdebugger: Fix uninitialized variable (!1275)

Chris Johns (@chris) gitlab at rtems.org
Mon Jun 1 01:45:20 UTC 2026




Chris Johns commented on a discussion on cpukit/libdebugger/rtems-debugger-target.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1275#note_151430

 >    rtems_debugger_target* target = rtems_debugger->target;
 >    Thread_Control* thread = _Thread_Get_executing();
 >    const rtems_id tid = thread->Object.id;
 > -  rtems_debugger_thread fake_debugger_thread;
 > +  rtems_debugger_thread fake_debugger_thread = {};

This change looks good with you suggestion. Stepping as a server means communication round trip times and it is more than likely the board has been sitting at a break point for some period of time.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1275#note_151430
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/20260601/cba3cbc9/attachment.htm>


More information about the bugs mailing list