From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25511 invoked by alias); 25 Nov 2013 15:03:18 -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 25501 invoked by uid 89); 25 Nov 2013 15:03:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 25 Nov 2013 15:02:37 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rAPF2QDF001440 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 25 Nov 2013 10:02:26 -0500 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id rAPF2O9N007617; Mon, 25 Nov 2013 10:02:25 -0500 Message-ID: <52936680.6000601@redhat.com> Date: Mon, 25 Nov 2013 15:14:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: "Tedeschi, Walfred" CC: Mark Kettenis , "yao@codesourcery.com" , "gdb-patches@sourceware.org" Subject: Re: [PATCH v1 1/1] Fix PR16193 - gdbserver aborts. References: <1385386802-16948-1-git-send-email-walfred.tedeschi@intel.com> <201311251449.rAPEn6uZ014952@glazunov.sibelius.xs4all.nl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-11/txt/msg00778.txt.bz2 On 11/25/2013 02:56 PM, Tedeschi, Walfred wrote: > > /* In case one of the MPX XCR0 bits is set we consider we have MPX. > #define HAS_MPX(XCR0) ((XCR0) & I386_XSTATE_MPX) == I386_XSTATE_MPX Please wrap macros in ()'s: #define HAS_MPX(XCR0) (((XCR0) & I386_XSTATE_MPX) == I386_XSTATE_MPX) -- Pedro Alves