From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12567 invoked by alias); 22 Oct 2013 13:36:28 -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 12554 invoked by uid 89); 22 Oct 2013 13:36:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham version=3.3.2 X-HELO: userp1040.oracle.com Received: from userp1040.oracle.com (HELO userp1040.oracle.com) (156.151.31.81) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 22 Oct 2013 13:36:27 +0000 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r9MDaNmJ016683 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 22 Oct 2013 13:36:24 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9MDaMHA005571 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Oct 2013 13:36:23 GMT Received: from abhmt114.oracle.com (abhmt114.oracle.com [141.146.116.66]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9MDaMuS005562; Tue, 22 Oct 2013 13:36:22 GMT Received: from termi.oracle.com (/10.175.6.116) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 22 Oct 2013 06:36:21 -0700 From: jose.marchesi@oracle.com (Jose E. Marchesi) To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] Support for the $_siginfo convenience var in sparc64 References: <8761sptppx.fsf@oracle.com> <52667BC5.2050300@redhat.com> Date: Tue, 22 Oct 2013 13:36:00 -0000 In-Reply-To: <52667BC5.2050300@redhat.com> (Pedro Alves's message of "Tue, 22 Oct 2013 14:21:09 +0100") Message-ID: <87zjq1s9ww.fsf@oracle.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2013-10/txt/msg00684.txt.bz2 > The following patch adds support for the $_siginfo convenience variable > to sparc64-*-linux-gnu targets. I take it from the patch that linux-tdep.c:linux_get_siginfo_type wouldn't work for sparc64? Why is that? What's different? These are the differences of glibc's bits/siginfo.h in sparc with respect to bits/siginfo.h in x86: - The _sigfault struct has an additional field `int si_trapno'. - The `si_band' field in the `_sigpoll' struct is of type `int' instead of `long int'. It would be nice to avoid all that code repetition, but since glibc maintains per-target bits/signinfo.h files more differences could be introduced in the future...