RTEMS | cpukit/libdebugger: Fix uninitialized variable (!1275)
Jeremy Lorelli (@jjl77)
gitlab at rtems.org
Mon Jun 1 19:07:54 UTC 2026
Jeremy Lorelli commented on a discussion on cpukit/libdebugger/rtems-debugger-target.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1275#note_151478
> 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 = {};
@chris can you clarify? Do you mean something like `rtems_debugger_thread_init(...)` that would init a `rtems_debugger_thread`?
I see this got merged already though
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1275#note_151478
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/3800937e/attachment-0001.htm>
More information about the bugs
mailing list