From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 73416 invoked by alias); 1 May 2015 14:33:05 -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 73342 invoked by uid 89); 1 May 2015 14:33:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 01 May 2015 14:33:03 +0000 Received: from svr-orw-fem-03.mgc.mentorg.com ([147.34.97.39]) by relay1.mentorg.com with esmtp id 1YoBzw-0001Tj-7k from Luis_Gustavo@mentor.com for gdb-patches@sourceware.org; Fri, 01 May 2015 07:33:00 -0700 Received: from opsys.world.mentorg.com (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.3.224.2; Fri, 1 May 2015 07:32:59 -0700 From: Luis Machado To: Subject: [PATCH 3/3] Documentation changes for the new zhexadecimal format Date: Fri, 01 May 2015 14:33:00 -0000 Message-ID: <1430490758-23247-4-git-send-email-lgustavo@codesourcery.com> In-Reply-To: <1430490758-23247-1-git-send-email-lgustavo@codesourcery.com> References: <1430490758-23247-1-git-send-email-lgustavo@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00006.txt.bz2 This patch updates the documentation to reflect the addition of the new zhexadecimal format option for -var-set-format and also adds a NEWS entry for the change. gdb/ChangeLog: 2015-05-01 Luis Machado * NEWS: Add new note to MI changes. gdb/doc/ChangeLog: 2015-05-01 Luis Machado * gdb.texinfo (GDB/MI Variable Objects): Update text for -var-set-format. --- gdb/NEWS | 5 +++++ gdb/doc/gdb.texinfo | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/NEWS b/gdb/NEWS index 651401d..9d4fd03 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -142,6 +142,11 @@ qXfer:exec-file:read HP/PA running HP-UX hppa*-*-hpux* Itanium running HP-UX ia64-*-hpux* +* MI changes + + ** The -var-set-format command now accepts the zhexadecimal format. It + outputs data in hexadecimal format with zero-padding on the left. + *** Changes in GDB 7.9 * GDB now supports hardware watchpoints on x86 GNU Hurd. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 9e2787d..89fd2ca 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -28927,7 +28927,7 @@ The syntax for the @var{format-spec} is as follows: @smallexample @var{format-spec} @expansion{} - @{binary | decimal | hexadecimal | octal | natural@} + @{binary | decimal | hexadecimal | octal | natural | zhexadecimal@} @end smallexample The natural format is the default format choosen automatically -- 1.9.1