From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30054 invoked by alias); 28 Nov 2013 20:13:09 -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 30039 invoked by uid 89); 28 Nov 2013 20:13:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,SPF_SOFTFAIL,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: mtaout23.012.net.il Received: from Unknown (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 28 Nov 2013 20:13:06 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MWZ00600P0LJ000@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Thu, 28 Nov 2013 22:12:56 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MWZ006TSPHJHC60@a-mtaout23.012.net.il>; Thu, 28 Nov 2013 22:12:56 +0200 (IST) Date: Thu, 28 Nov 2013 21:16:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH v2 1/1] Documentation for MPX. In-reply-to: <1385636042-10592-1-git-send-email-walfred.tedeschi@intel.com> To: Walfred Tedeschi Cc: palves@redhat.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83mwko8ev7.fsf@gnu.org> References: <1385636042-10592-1-git-send-email-walfred.tedeschi@intel.com> X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00891.txt.bz2 > From: Walfred Tedeschi > Cc: gdb-patches@sourceware.org, Walfred Tedeschi > Date: Thu, 28 Nov 2013 11:54:02 +0100 > > I tried to cover all feedback you gave me. > Concerning the footnote I have reduced it to avoid > early confusion, the topic will be explained anyhow later. Thanks. > diff --git a/gdb/NEWS b/gdb/NEWS > index 9fc3638..fdb33d4 100644 > --- a/gdb/NEWS > +++ b/gdb/NEWS > @@ -5558,3 +5558,5 @@ GDB now handles cross debugging. If you are remotely debugging between > two different machines, type ``./configure host -target=targ''. > Host is the machine where GDB will run; targ is the machine > where the program that you are debugging will run. > + > + * GDB now supports access to Intel(R) MPX registers on GNU/Linux. This is OK. > +@cindex Intel(R) Memory Protection Extensions (MPX). > +@subsubsection Intel(R) @dfn{Memory Protection Extensions} (MPX). @cindex should be after the @subsubsection line. > +@item bnd0raw..bnd3raw and bnd0@dots{}bnd3 registers display. > +Memory Protection Extension (MPX) adds the bound registers @samp{BND0} > +@footnote{The register named with capital letters represent the architecture > +registers.} through @samp{BND3}. Bound registers store a pair of 64-bit values > +which are the lower bound and upper bound. Bounds are effective addresses or > +memory locations. The upper bounds are architecturally represented in 1's > +complement form. A bound having lower bound = 0, and upper bound = 0 > +(1's complement of all bits set) will allow access to the entire address space. > + > +Architecture registers @samp{BND0} through @samp{BND3} are > +represented in @value{GDBN} as @samp{bnd0raw} through @samp{bnd3raw}. Hmm... didn't I suggest to use "raw registers" instead of "architectural registers"? In fact, what are the differences between this version of the patch and the previous one, they seem identical.