]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix typo in Python documentation
authorTom Tromey <tromey@adacore.com>
Wed, 18 Dec 2024 15:34:31 +0000 (08:34 -0700)
committerTom Tromey <tromey@adacore.com>
Wed, 18 Dec 2024 15:35:56 +0000 (08:35 -0700)
Oleg pointed out that when renaming from "status" to "enabled" in the
Python TUI events patch, I neglected to update one spot in the
documentation.  This patch fixes this.  I'm checking it in as obvious.

You can verify that this change is correct by examining
gdb/python/py-event-types.def.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32162

gdb/doc/python.texi

index 063dc7e1c587bf99fc66e3e35831cb5fdf90d9a6..2e10930076a8562720b0f84df947e0f932b94a90 100644 (file)
@@ -4088,7 +4088,7 @@ This is emitted when the TUI is enabled or disabled.  The event is of
 type @code{gdb.TuiEnabledEvent}, which has a single read-only
 attribute:
 
-@defvar TuiStatusEvent.enabled
+@defvar TuiEnabledEvent.enabled
 If the TUI has just been enabled, this is @code{True}; otherwise it is
 @code{False}.
 @end defvar