Document that Frame.block can throw
authorTom Tromey <tom@tromey.com>
Sat, 8 Sep 2018 15:08:56 +0000 (09:08 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 10 Sep 2018 13:44:23 +0000 (07:44 -0600)
commit60c0454d3dda99635d331f6002f3f04fe34546a7
tree07f3a83f9ac35f6e003213b29275563fbf5db1f3
parent088a96da059ce14fe1dff369873b1dcf7151e29a
Document that Frame.block can throw

PR python/16484 points out that Frame.block can throw an exception,
but this is not documented.

This patch fixes the documentation.  Changing Frame.block to return
None would be nice, but I suspect it's too late for that change.

gdb/doc/ChangeLog
2018-09-10  Tom Tromey  <tom@tromey.com>

PR python/16484:
* python.texi (Frames In Python): Document that Frame.block can
throw.
gdb/doc/ChangeLog
gdb/doc/python.texi