Does anyone know where/how can I find out the signal numbers that gdb-multiarch uses? I've been writing a bare-metal gdb server/stub for Raspberry Pi 2B, but I don't know which signal numbers to use.
For bus errors I tried signal 10. I understand it should be SIGBUS, but:
Quote:
[r $][T][1][0][#][b][5]Packet received: T10
...
Can't send signals to this remote system. SIGURG not sent.
Sending packet: $c#63...[\x00][\x00][\x00][\x00][\x00][
r +]Ack
|
And:
Quote:
[r $][T][3][1][#][b][8]Packet received: T31
...
Program received signal SIG37, Real-time event 37.
|
I think signal 31 is supposed to be SIGUSR2.