From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24528 invoked by alias); 1 Jul 2013 08:43:22 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 24518 invoked by uid 89); 1 Jul 2013 08:43:22 -0000 X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 01 Jul 2013 08:43:21 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 5C732A5386; Mon, 1 Jul 2013 10:43:19 +0200 (CEST) From: Andreas Schwab To: Sergio Durigan Junior Cc: GDB Patches Subject: Re: [PATCH 00/17] Implement gdbarch_gdb_signal_to_target References: <1372664545-3947-1-git-send-email-sergiodj@redhat.com> X-Yow: I'm not available for comment.. Date: Mon, 01 Jul 2013 08:43:00 -0000 In-Reply-To: <1372664545-3947-1-git-send-email-sergiodj@redhat.com> (Sergio Durigan Junior's message of "Mon, 1 Jul 2013 04:42:08 -0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-07/txt/msg00021.txt.bz2 Sergio Durigan Junior 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//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."