From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20505 invoked by alias); 3 Feb 2009 18:06:27 -0000 Received: (qmail 20497 invoked by uid 22791); 3 Feb 2009 18:06:26 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Feb 2009 18:06:20 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 6B8CB10A3D; Tue, 3 Feb 2009 18:06:18 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 58D4110A34; Tue, 3 Feb 2009 18:06:18 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1LUPf7-0002Aa-Pa; Tue, 03 Feb 2009 13:06:17 -0500 Date: Tue, 03 Feb 2009 18:06:00 -0000 From: Daniel Jacobowitz To: Ulrich Weigand Cc: Pedro Alves , gdb-patches@sourceware.org Subject: Re: [0/2] Inspect extra signal information Message-ID: <20090203180617.GA8038@caradoc.them.org> Mail-Followup-To: Ulrich Weigand , Pedro Alves , gdb-patches@sourceware.org References: <200902031501.49657.pedro@codesourcery.com> <200902031642.n13GgL35026175@d12av02.megacenter.de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200902031642.n13GgL35026175@d12av02.megacenter.de.ibm.com> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes 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 X-SW-Source: 2009-02/txt/msg00071.txt.bz2 On Tue, Feb 03, 2009 at 05:42:21PM +0100, Ulrich Weigand wrote: > On the other hand, it's going to be difficult to avoid. One > way would be for the Linux native target to always return > the 32-bit layout when debugging a 32-bit inferior; if necessary > it would have to convert the data in-place before returning it > (similar to how the native target today converts register contents > to 32 bit even though the ptrace interface returns 64 bit values). I like this idea. We'd just need a "native siginfo to gdb siginfo" routine, which could probably live in one common native-only file. -- Daniel Jacobowitz CodeSourcery