[RTEMS Project] #3766: potential patch to libbsp/shared/gdbstub/rtems-stub-glue.c for gdb NONSTOP mode

RTEMS trac trac at rtems.org
Fri Jul 12 15:38:17 UTC 2019


#3766: potential patch to libbsp/shared/gdbstub/rtems-stub-glue.c for gdb NONSTOP
mode
--------------------------+---------------------
 Reporter:  Jeffrey Hill  |       Owner:  (none)
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:
Component:  bsps          |     Version:
 Severity:  minor         |  Resolution:
 Keywords:                |  Blocked By:
 Blocking:                |
--------------------------+---------------------

Comment (by Jeffrey Hill):

 Admittedly, some kind of synchronization is probably strictly required
 also within rtems_gdb_index_to_stub_id if GDB isn't breaking in via some
 kind of trap instruction.

 To put this in context, I made the above change when working on a TCP
 thread-aware gdb stub which typically runs in all-stop mode (all threads
 are stopped except the networking threads), but I have also experimented
 some with non-stop mode.

 There is admittedly much more work to do to support non-stop mode.

--
Ticket URL: <http://devel.rtems.org/ticket/3766#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list