This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 00/17] Implement gdbarch_gdb_signal_to_target


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]