From: Tom Tromey Date: Wed, 18 Dec 2024 15:34:31 +0000 (-0700) Subject: Fix typo in Python documentation X-Git-Tag: gdb-16-branchpoint~58 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bf63e092606ea6c0d894a761edc8b5c127df0efe;p=thirdparty%2Fbinutils-gdb.git Fix typo in Python documentation 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 --- diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 063dc7e1c58..2e10930076a 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -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