Update Python Block.end documentation
authorTom Tromey <tom@tromey.com>
Sat, 8 Sep 2018 14:59:00 +0000 (08:59 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 10 Sep 2018 13:44:22 +0000 (07:44 -0600)
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.

gdb/doc/ChangeLog
gdb/doc/python.texi

index 58e01e4..cf427ff 100644 (file)
@@ -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
index 584b909..86a9111 100644 (file)
@@ -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