[RTEMS Project] #4739: Fatal errors running GDB testcase against libdebugger

RTEMS trac trac at rtems.org
Tue Oct 11 02:24:59 UTC 2022

#4739: Fatal errors running GDB testcase against libdebugger
 Reporter:  Kévin Le Gouguec  |       Owner:  Chris Johns
     Type:  defect            |      Status:  new
 Priority:  normal            |   Milestone:
Component:  lib/debugger      |     Version:  6
 Severity:  normal            |  Resolution:
 Keywords:                    |  Blocked By:
 Blocking:                    |

Comment (by Chris Johns):

 In `rtems_init_minimal.c` I noticed:
 /* Debugger lock, there is no way to ask the libdebugger to wait for a
  * connection, that would block the kernel.  Instead use the following
  * variable and 'set release_debugger = 1' in GDB when ready.  */
 I can add a feature to `libdebugger` to have it wait but I am not sure
 what happens once connected? Do I break and wait for the user via GDB or
 continue or should this be optional?

 I think a wait for connection option is a good idea.

Ticket URL: <http://devel.rtems.org/ticket/4739#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list