LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-10-2015, 04:04 AM   #1
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Rep: Reputation: 46
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.
 
Old 11-10-2015, 07:32 PM   #2
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Original Poster
Rep: Reputation: 46
Stupid me! They are HEX digits in the packets, like all other numbers.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Multiarch: How To Use 32bit Packages On A 64bit System (Debian 7 Wheezy) LXer Syndicated Linux News 0 06-21-2013 10:50 AM
[Solved]Debian multiarch conflicts propofol Debian 5 02-07-2013 01:20 AM
[SOLVED] Finding i386 dependencies in Debian multiarch Spongmonkey Debian 2 01-30-2013 12:36 AM
Mozilla does not use acroread on Debian amd64 multiarch Envite Linux - Desktop 1 01-22-2013 06:29 AM
LXer: Debian to offer MultiArch support with Debian Wheezy 7 in 2013 LXer Syndicated Linux News 0 08-11-2011 01:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration