LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Gdb-multiarch 7.7.1 in Debian repo has weird signal numbering (https://www.linuxquestions.org/questions/debian-26/gdb-multiarch-7-7-1-in-debian-repo-has-weird-signal-numbering-4175558475/)

turboscrew 11-10-2015 04:04 AM

Gdb-multiarch 7.7.1 in Debian repo has weird signal numbering
 
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.

turboscrew 11-10-2015 07:32 PM

Stupid me! They are HEX digits in the packets, like all other numbers.


All times are GMT -5. The time now is 10:17 AM.