From 1bd0c6e4964f68523794aded05aa4d184db44d48 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Wed, 8 May 2019 20:59:50 +0100 Subject: [PATCH] gdb: Merge two 'New commands' sections in NEWS file 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/ChangeLog b/gdb/ChangeLog index 81f72a91e2..24cf12cbde 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2019-05-08 Andrew Burgess + + * NEWS: Merge two 'New commands' sections. + 2019-05-08 Joel Brobecker * ada-valprint.c (ada_val_print_gnat_array): Remove language diff --git a/gdb/NEWS b/gdb/NEWS index b21b2cbb47..288615b8cd 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 -- 2.34.1