This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 6/6] NEWS: Mention "set listsize 0"/"set listsize -1" behavior change.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]