From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6756 invoked by alias); 28 Aug 2014 11:51:13 -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 6746 invoked by uid 89); 28 Aug 2014 11:51:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: e06smtp13.uk.ibm.com Received: from e06smtp13.uk.ibm.com (HELO e06smtp13.uk.ibm.com) (195.75.94.109) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 28 Aug 2014 11:51:12 +0000 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 28 Aug 2014 12:51:08 +0100 Received: from d06dlp02.portsmouth.uk.ibm.com (9.149.20.14) by e06smtp13.uk.ibm.com (192.168.101.143) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 28 Aug 2014 12:51:06 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 47805219002D for ; Thu, 28 Aug 2014 12:50:47 +0100 (BST) Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s7SBp5r738535308 for ; Thu, 28 Aug 2014 11:51:05 GMT Received: from d06av02.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s7SBp4sD006805 for ; Thu, 28 Aug 2014 05:51:05 -0600 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with SMTP id s7SBp3HT006739; Thu, 28 Aug 2014 05:51:03 -0600 Message-Id: <201408281151.s7SBp3HT006739@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Thu, 28 Aug 2014 13:51:03 +0200 Subject: Re: [RFC] Use address_from_register in dwarf2-frame.c:read_addr_from_reg To: macro@codesourcery.com (Maciej W. Rozycki) Date: Thu, 28 Aug 2014 11:51:00 -0000 From: "Ulrich Weigand" Cc: pinskia@gmail.com (Andrew Pinski), gdb-patches@sourceware.org (gdb-patches@sourceware.org) In-Reply-To: from "Maciej W. Rozycki" at Aug 27, 2014 07:15:00 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14082811-2966-0000-0000-000000F3C547 X-SW-Source: 2014-08/txt/msg00601.txt.bz2 Maciej W. Rozycki wrote: > On Wed, 27 Aug 2014, Ulrich Weigand wrote: > > I guess it isn't too hard to support gdbarch_convert_register_p in that > > routine as well; I just didn't have any target to test on. > > > > Can you try whether something along the following lines works for you? > > I'll see if I can push it through testing, though it may take a few days > as some of MIPS hardware I use (and especially 64-bit one) is slooow (and > I already have a test run under way). Thanks! > I'd expect the issue to be consistent across all ILP32 64-bit ABIs BTW, > that is e.g. x32 x86-64 as well. Well, I guess that depends on whether the hardware expects 32-bit pointer values to be sign-extended when loaded in 64-bit registers or not. I don't think x32 x86-64 requires this sign-extension (but I'm certainly not an expert here) ... Bye, Ulrich -- Dr. Ulrich Weigand GNU/Linux compilers and toolchain Ulrich.Weigand@de.ibm.com