[pushed] Fix typo in Python documentation

Message ID 20241218153721.2282065-1-tromey@adacore.com
State New
Headers
Series [pushed] Fix typo in Python documentation |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_gdb_build--master-arm fail Patch failed to apply

Commit Message

Tom Tromey Dec. 18, 2024, 3:37 p.m. UTC
  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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

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