This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Update Python Block.end documentation
- From: Tom Tromey <tromey at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 10 Sep 2018 13:49:06 -0000
- Subject: [binutils-gdb] Update Python Block.end documentation
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=22eb9e92ea9b5fd1ed83cfc093d7da6d18643149
commit 22eb9e92ea9b5fd1ed83cfc093d7da6d18643149
Author: Tom Tromey <tom@tromey.com>
Date: Sat Sep 8 08:59:00 2018 -0600
Update Python Block.end documentation
PR python/16033 points out that Block.end doesn't describe whether it
is inclusive or exclusive. This patch fixes the documentation.
gdb/doc/ChangeLog
2018-09-10 Tom Tromey <tom@tromey.com>
PR python/16033:
* python.texi (Blocks In Python): Document that Block.end is
exclusive.
Diff:
---
gdb/doc/ChangeLog | 6 ++++++
gdb/doc/python.texi | 3 ++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 58e01e4..cf427ff 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,9 @@
+2018-09-10 Tom Tromey <tom@tromey.com>
+
+ PR python/16033:
+ * python.texi (Blocks In Python): Document that Block.end is
+ exclusive.
+
2018-08-29 Keith Seitz <keiths@redhat.com>
* gdb.texinfo (Compiling and injecting code in GDB): Document
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 584b909..86a9111 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -4455,7 +4455,8 @@ The start address of the block. This attribute is not writable.
@end defvar
@defvar Block.end
-The end address of the block. This attribute is not writable.
+One past the last address that appears in the block. This attribute
+is not writable.
@end defvar
@defvar Block.function