From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4390 invoked by alias); 16 Feb 2010 23:34:38 -0000 Received: (qmail 4376 invoked by uid 22791); 16 Feb 2010 23:34:37 -0000 X-SWARE-Spam-Status: No, hits=-6.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 16 Feb 2010 23:34:33 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o1GNYVm8011623 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Feb 2010 18:34:31 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o1GNYVtm030859; Tue, 16 Feb 2010 18:34:31 -0500 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o1GNYUMs027433; Tue, 16 Feb 2010 18:34:30 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id C9444379956; Tue, 16 Feb 2010 16:34:29 -0700 (MST) From: Tom Tromey To: Jan Kratochvil Cc: gdb-patches@sourceware.org, Mark Kettenis Subject: Re: [patch] Fix PIE for 64bit gdb -> 32bit inferior References: <20100211150657.GA14066@host0.dyn.jankratochvil.net> Reply-To: tromey@redhat.com Date: Tue, 16 Feb 2010 23:34:00 -0000 In-Reply-To: <20100211150657.GA14066@host0.dyn.jankratochvil.net> (Jan Kratochvil's message of "Thu, 11 Feb 2010 16:06:57 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2010-02/txt/msg00410.txt.bz2 >>>>> "Jan" == Jan Kratochvil writes: Jan> according to the suggestion by Mark Kettenis the fix for biarch PIE Jan> is in fact simple. Thanks. Jan> 2010-02-11 Jan Kratochvil Jan> * solib-svr4.c (enable_break ): New variable Jan> addr_bit. Adjust LOAD_ADDR sign for cross-arch inferiors. This is ok. Tom