From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15458 invoked by alias); 27 Nov 2015 14:34:20 -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 15446 invoked by uid 89); 27 Nov 2015 14:34:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 27 Nov 2015 14:34:19 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id CEF848EFC2 for ; Fri, 27 Nov 2015 14:34:17 +0000 (UTC) Received: from blade.nx (ovpn-116-127.ams2.redhat.com [10.36.116.127]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tAREYHmw011961; Fri, 27 Nov 2015 09:34:17 -0500 Received: by blade.nx (Postfix, from userid 1000) id 49D6826571B; Fri, 27 Nov 2015 14:34:16 +0000 (GMT) Date: Fri, 27 Nov 2015 14:34:00 -0000 From: Gary Benson To: Richard Henderson Cc: gdb-patches@gcc.gnu.org Subject: Re: [PATCH 0/3] Support for x86 segments as address classes Message-ID: <20151127143416.GA17511@blade.nx> References: <1446558190-13482-1-git-send-email-rth@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1446558190-13482-1-git-send-email-rth@redhat.com> X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00587.txt.bz2 Hi Richard, Richard Henderson wrote: > The following gets 90% of the way there, but I'm stuck -- > address_to_pointer and pointer_to_address do not appear to > have access to a regcache. And not just in the one level > of the caller, but significantly farther back in the call > stack too. > > Which begs the question of whether I've simply missed > something in how to get hold of the current regcache? I don't know the answer to your questions, but thanks for doing this; I can write better libpthread Infinity notes for glibc with this. (I tried adding this support myself a month or so back but got stuck way earlier than you!) Cheers, Gary -- http://gbenson.net/