This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 6/6] NEWS: Mention "set listsize 0"/"set listsize -1" behavior change.
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 21 Mar 2013 18:29:44 +0000
- Subject: [PATCH 6/6] NEWS: Mention "set listsize 0"/"set listsize -1" behavior change.
- References: <20130321182902 dot 3180 dot 72398 dot stgit at brno dot lan>
The patch at http://sourceware.org/ml/gdb-patches/2012-08/msg00021.html
changed the behavior of an old setting. I think such changes should
be mentioned in NEWS. Here's an attempt.
gdb/
2013-03-21 Pedro Alves <palves@redhat.com>
* NEWS: Mention "set listsize 0"/"set listsize -1" behavior
change.
---
gdb/NEWS | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/gdb/NEWS b/gdb/NEWS
index b759adf..ef310bb 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -111,6 +111,18 @@ x86_64/Cygwin x86_64-*-cygwin*
* The command 'info tracepoints' can now display 'installed on target'
or 'not installed on target' for each non-pending location of tracepoint.
+* 'set listsize -1' and 'set listsize 0' behavior change.
+
+ Now, -1 as argument to 'set listsize' means there's no line limit
+ and 0 suppresses display of source lines. Previously, 0 meant that
+ there was no limit, and negative numbers were not allowed. The
+ table below sums it up:
+
+ | before | after |
+ |----+-----------+-----------|
+ | -1 | invalid | unlimited |
+ | 0 | unlimited | really 0 |
+
* New configure options
--enable-libmcheck/--disable-libmcheck