From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88920 invoked by alias); 20 Dec 2017 13:59:27 -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 88903 invoked by uid 89); 20 Dec 2017 13:59:26 -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,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=cell X-HELO: mail-qt0-f176.google.com Received: from mail-qt0-f176.google.com (HELO mail-qt0-f176.google.com) (209.85.216.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Dec 2017 13:59:25 +0000 Received: by mail-qt0-f176.google.com with SMTP id f2so28346638qtj.4 for ; Wed, 20 Dec 2017 05:59:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=A76ujySn4+UTsIJOh8zgbfbVR/YK+F4T5gomLLvfZTY=; b=R2UhyxM82XxUwAhP+TgxShCRoh4KOXV+5bmsiqjms2aA/tDmsFlM5aCWZN0ryTzRWF 0Dq92ZIeDi6C1UbZJ0kg7y/yEUZvb4T+ipbvAYP8YIk8GD9cBwPhBXjrHmhconFF0ykt qSXrjfUBi+AzcMecRCi2QNXkfgfPMBjGOhzEljdo782I83QQp80UNg06Qz/9xQH4dAuB ow9rv3uCwkBmpOhi2HzDpMjc+/1qaS/KA35voO4q/5pTH4eKvm4Xl16HY4j5t+gOaGkI kHLaNwqPd9Jq9BxclyHprgfSVKAo4RMuhLX0A22kRBmJsf7C2PGoHDpCi8sYbAsQO9Em CNdA== X-Gm-Message-State: AKGB3mK6sMnJ/TNqizGYu0TIGZTVzA+Gw+ugDmUZLR1wQCi6O1RQ6Tdm xaoodRlxgSXzHDzQgP5R2N+d8oLZWh8jUjXpcOg= X-Google-Smtp-Source: ACJfBoui+459ed3b15WfuFmuaN7IOcPVjNHh6SmmNiPHxTcih0sqv/G3YBDwb/XotnQNgwFqnwrA2hCr/Sh0hQjnV6M= X-Received: by 10.200.10.75 with SMTP id f11mr9312136qti.272.1513778363657; Wed, 20 Dec 2017 05:59:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.132.161 with HTTP; Wed, 20 Dec 2017 05:59:23 -0800 (PST) In-Reply-To: <20171220130318.D649DD80341@oc3748833570.ibm.com> References: <868tdxlo28.fsf@gmail.com> <20171220130318.D649DD80341@oc3748833570.ibm.com> From: Yao Qi Date: Wed, 20 Dec 2017 13:59:00 -0000 Message-ID: Subject: Re: [pushed] Fix Cell/B.E. regression (Re: [PATCH 1/3] Clear non-significant bits of address on memory access) To: Ulrich Weigand Cc: GDB Patches Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-12/txt/msg00451.txt.bz2 On Wed, Dec 20, 2017 at 1:03 PM, Ulrich Weigand wrote: > I've now pushed the patch below, which fixes the regression for now. > Thank you. > Longer term, I think the correct fix would probably be to make address > spaces explit, e.g. by passing an address space identifer to xfer_partial. > The gdbarch associated with that address space should then determine > whether truncation is required ... > Agreed. --=20 Yao (=E9=BD=90=E5=B0=A7)