While debugging the gdb server I can see that it receives the following line You don't need to be debugging the gdbserver. You can simply turn on set debug remote 1 in GDB, and have GDB print all sent and received packets. Why is the gdb client trying to...
So the explanation of this is that RTEMS does not handle signals the way that I thought it does. There are some POSIX signals which are really exceptions at the hardware level. for eg. SIGSEGV, SIGBUS, and SIGFPE. The exact semantics of what is possible when this occurs is defined...
So this looks to be a bug with the RTEMS implementation. https://lists.rtems.org/pipermail/bugs/2014-January/004755.html It is not likely that it will ever be fixed. ...