GDB stub support has been added to the RCE core for the petacache. See Debugging the DAT on an RCE for usage and requirements.

1 Comment

  1. The GDB stub is now in its own directory tree under /afs/slac/g/cci/package/rtems-gdb-stub. When built, it installs a library in $RTEMS_MAKEFILE_PATH, which is RTEMS BSP-specific. To make use of it, rtems_gdb_start(0, 0); should be called. This is done in the core file devel.cc, for example. The project must be linked against librtems-gdb-stub.a to pick up the code.