[PATCH 00/17] Implement gdbarch_gdb_signal_to_target

Andreas Schwab schwab@suse.de
Mon Jul 1 08:43:00 GMT 2013


Sergio Durigan Junior <sergiodj@redhat.com> writes:

> What I did was to investigate, on the Linux kernel, which targets shared
> the signal numbers definition with x86.  My approach was to make the x86
> the "de facto" implementation, and extend only the needed bits on each
> arch.  For the record, I used linux-3.10-rc6 as the main source of
> information, always looking at
> arch/<ARCH_NAME>/include/uapi/asm/signal.h.  For SIGRTMAX (which defaults
> to _NSIG in most cases), I had to look at different signal-related
> files, but most of them (except MIPS) were defined to 64 anyway.

There is also include/uapi/asm-generic/signal.h (which happens to agree
with x86 numbering) which will be used for every new architecture port.

(Looks like you missed out aarch64.)

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Gdb-patches mailing list