From patchwork Wed May 8 20:02:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Burgess X-Patchwork-Id: 32613 Received: (qmail 59131 invoked by alias); 8 May 2019 20:03:08 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 59123 invoked by uid 89); 8 May 2019 20:03:08 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-13.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Envelope-From:sk:andrew. X-HELO: mail-wm1-f50.google.com Received: from mail-wm1-f50.google.com (HELO mail-wm1-f50.google.com) (209.85.128.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 08 May 2019 20:03:07 +0000 Received: by mail-wm1-f50.google.com with SMTP id y2so139216wmi.5 for ; Wed, 08 May 2019 13:03:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=from:to:cc:subject:date:message-id; bh=8s1Ib0PC+uWQYlaYC0TKJaFPTP0puORCFm3ekkUXW/I=; b=a5xa9RWICA88t+OK7rAPsEHSsbRrSaN8P7n2OIWMdqQRt6HqSUYIC/+pX7nBF7vmJq pjn7Lnt7VuGMxXUWXJTQoDRqBMogdjlH9rk4b54NBQwftZQj2FXN+YPEJBhe2seru9Uo MsuWfr4xhpGfDhvoWBj6t74SCgn4eGdvMZ8svWYR1Dap7LEaeB5aMwpXyCDla1OsmRwx Efg09//C7IuN2YNN6GGXqSg0EqUcvHWzdOs5LIVXdTYAVwyTL//JWYiId75lFiW7sEIg QjmViu/ZgXfD2BL9ODNoRpQOsDf34m368RLYnoz/L3hi2JoKZ4mLPcAVWmnCEYdXSq8s X/1Q== Return-Path: Received: from localhost (cust64-dsl91-135-5.idnet.net. [91.135.5.64]) by smtp.gmail.com with ESMTPSA id t16sm12656548wrw.56.2019.05.08.13.02.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 May 2019 13:03:00 -0700 (PDT) From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Andrew Burgess Subject: [PUSHED] gdb: Merge two 'New commands' sections in NEWS file Date: Wed, 8 May 2019 21:02:57 +0100 Message-Id: <20190508200257.20864-1-andrew.burgess@embecosm.com> X-IsSubscribed: yes Commit 2e62ab400ff9 added a second 'New commands' section to the NEWS file, this commit merges the two together. gdb/ChangeLog: * NEWS: Merge two 'New commands' sections. --- gdb/ChangeLog | 4 ++++ gdb/NEWS | 16 +++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/gdb/NEWS b/gdb/NEWS index b21b2cbb478..288615b8cd3 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -19,15 +19,6 @@ * Two new convernience functions $_cimag and $_creal that extract the imaginary and real parts respectively from complex numbers. -* New commands - -set print max-depth -show print max-depth - Allows deeply nested structures to be simplified when printing by - replacing deeply nested parts (beyond the max-depth) with ellipses. - The default max-depth is 20, but this can be set to unlimited to get - the old behavior back. - * Python API ** The gdb.Value type has a new method 'format_string' which returns a @@ -48,6 +39,13 @@ show may-call-functions an error when a command (such as print expression) calls a function in the program. +set print max-depth +show print max-depth + Allows deeply nested structures to be simplified when printing by + replacing deeply nested parts (beyond the max-depth) with ellipses. + The default max-depth is 20, but this can be set to unlimited to get + the old behavior back. + *** Changes in GDB 8.3 * GDB and GDBserver now support access to additional registers on