From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 116636 invoked by alias); 18 Mar 2016 15:12:17 -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 116601 invoked by uid 89); 18 Mar 2016 15:12:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=27,6, HReply-to:D*gnu.org, HX-Received-From:4830, HX-Received-From:134 X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 18 Mar 2016 15:12:05 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agw4E-00077u-Ps for gdb-patches@sourceware.org; Fri, 18 Mar 2016 11:12:02 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agw4E-00077p-MU; Fri, 18 Mar 2016 11:11:58 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1397 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1agw4D-00045P-9O; Fri, 18 Mar 2016 11:11:58 -0400 Date: Fri, 18 Mar 2016 15:12:00 -0000 Message-Id: <83zitv95xw.fsf@gnu.org> From: Eli Zaretskii To: Walfred Tedeschi CC: palves@redhat.com, brobecker@adacore.com, gdb-patches@sourceware.org In-reply-to: <1458310577-20021-1-git-send-email-walfred.tedeschi@intel.com> (message from Walfred Tedeschi on Fri, 18 Mar 2016 15:16:17 +0100) Subject: Re: [PATCH V5 2/2] Add mpx-bnd-init-on-return set/show command for inferior calls. Reply-to: Eli Zaretskii References: <1458310577-20021-1-git-send-email-walfred.tedeschi@intel.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-IsSubscribed: yes X-SW-Source: 2016-03/txt/msg00343.txt.bz2 > From: Walfred Tedeschi > Cc: gdb-patches@sourceware.org, Walfred Tedeschi > Date: Fri, 18 Mar 2016 15:16:17 +0100 > > diff --git a/gdb/NEWS b/gdb/NEWS > index be15902..a123f7d 100644 > --- a/gdb/NEWS > +++ b/gdb/NEWS > @@ -27,6 +27,11 @@ skip -rfunction regular-expression > glob-style file names and regular expressions for function names. > Additionally, a file spec and a function spec may now be combined. > > +show mpx-bnd-init-on-return > +set mpx-bnd-init-on-return on i386 and amd64 > + In case MPX-BND-INIT-ON-RETURN is true, bound registers > + will be initialized when the "return" command is used. > + We don't up-case the option names in NEWS. Also, the "on i386 and amd64" part is not really part of the command, is it? So I suggest the following minor change to the wording: show mpx-bnd-init-on-return set mpx-bnd-init-on-return on i386 and amd64 On i386 and amd64, if this option is ON, bound registers will be re-initialized when the "return" command is used. > diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo > index 4ec0ec1..0e8531a 100644 > --- a/gdb/doc/gdb.texinfo > +++ b/gdb/doc/gdb.texinfo This part is okay. Thanks.