From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12654 invoked by alias); 2 Nov 2015 18:17:39 -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 12638 invoked by uid 89); 2 Nov 2015 18:17:36 -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,SPF_PASS autolearn=ham version=3.3.2 X-HELO: usevmg21.ericsson.net Received: from usevmg21.ericsson.net (HELO usevmg21.ericsson.net) (198.24.6.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 02 Nov 2015 18:17:35 +0000 Received: from EUSAAHC005.ericsson.se (Unknown_Domain [147.117.188.87]) by usevmg21.ericsson.net (Symantec Mail Security) with SMTP id BD.07.26730.56B37365; Mon, 2 Nov 2015 11:31:01 +0100 (CET) Received: from [142.133.110.144] (147.117.188.8) by smtp-am.internal.ericsson.com (147.117.188.89) with Microsoft SMTP Server id 14.3.248.2; Mon, 2 Nov 2015 13:17:32 -0500 Subject: Re: [PATCH] Fix length calculation in aarch64_linux_set_debug_regs To: Pedro Alves , References: <1446475684-31936-1-git-send-email-simon.marchi@ericsson.com> <56378884.70001@redhat.com> <563798BC.3000407@ericsson.com> <5637A400.4020500@redhat.com> CC: From: Simon Marchi Message-ID: <5637A8BC.3020301@ericsson.com> Date: Mon, 02 Nov 2015 18:17:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <5637A400.4020500@redhat.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00017.txt.bz2 On 15-11-02 12:57 PM, Pedro Alves wrote: > OK. Still not sure whether it's a bug or not. It may still be invalid C++ that > happens to be accepted by clang++. Looking at the standard (well, the latest draft of it), section 18.2, my understanding is that it should behave the same way as C. How do you suggest we find out?