From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82955 invoked by alias); 8 Mar 2017 11:11:06 -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 82941 invoked by uid 89); 8 Mar 2017 11:11:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 08 Mar 2017 11:11:04 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 78C10687; Wed, 8 Mar 2017 03:11:03 -0800 (PST) Received: from [10.2.206.198] (e104437-lin.cambridge.arm.com [10.2.206.198]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F23A33F23B; Wed, 8 Mar 2017 03:11:02 -0800 (PST) Subject: Re: [PATCH v9] amd64-mpx: initialize BND register before performing inferior calls. To: GDB References: <1488215745-5625-1-git-send-email-walfred.tedeschi@intel.com> From: Jiong Wang Cc: walfred.tedeschi@intel.com Message-ID: <0f14f1c3-d99f-e83b-9b88-8453eccac66d@foss.arm.com> Date: Wed, 08 Mar 2017 11:11:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <1488215745-5625-1-git-send-email-walfred.tedeschi@intel.com> Content-Type: multipart/mixed; boundary="------------34CD9EFD286C445986527A68" X-SW-Source: 2017-03/txt/msg00092.txt.bz2 This is a multi-part message in MIME format. --------------34CD9EFD286C445986527A68 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-length: 633 On 27/02/17 17:15, Walfred Tedeschi wrote: > + > +@smallexample > + $ break *upper > + Breakpoint 2 at 0x4009de: file i386-mpx-call.c, line 47. > + $ print upper (a, b, c, d, 1) > + Breakpoint 2, upper (a=0x0, b=0x6e0000005b, c=0x0, d=0x0, len=48).... > + $ print $bnd0 > + {lbound = 0x0, ubound = ffffffff} : size -1 > +@end smallexample This caused "make html" failure, and it looks to me is missing @ before {. I will commit this patch as obvious. gdb/ 2017-03-08 Jiong Wangg * doc/gdb.texinfo (Memory Protection Extensions): Add missing escape character "@". --------------34CD9EFD286C445986527A68 Content-Type: text/x-diff; name="fix-doc.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="fix-doc.patch" Content-length: 581 diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index ba56ab282fcec17b3d703a4c53afd3fb14b14c37..5cf0f973bb5aaedd8ab3bd68ec2562f6046664fd 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -22574,7 +22574,7 @@ continuing the execution. For example: $ print upper (a, b, c, d, 1) Breakpoint 2, upper (a=0x0, b=0x6e0000005b, c=0x0, d=0x0, len=48).... $ print $bnd0 - {lbound = 0x0, ubound = ffffffff} : size -1 + @{lbound = 0x0, ubound = ffffffff@} : size -1 @end smallexample At this last step the value of bnd0 can be changed for investigation of bound --------------34CD9EFD286C445986527A68--