[binutils-gdb] Minor fix to Python breakpoint event documentation
Tom Tromey
tromey@sourceware.org
Thu Jun 9 18:37:31 GMT 2022
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1c76a0e2a62191b7a5c0240c7178ed8a4c098fb7
commit 1c76a0e2a62191b7a5c0240c7178ed8a4c098fb7
Author: Tom Tromey <tromey@adacore.com>
Date: Thu Jun 9 09:40:51 2022 -0600
Minor fix to Python breakpoint event documentation
I noticed that the Python event documentation referred to the event's
"breakpoint" field as a function, whereas it is actually an attribute.
This patch fixes the error.
Diff:
---
gdb/doc/python.texi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index ba5a9b315e1..aaf7666e0be 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -3448,9 +3448,9 @@ A sequence containing references to all the breakpoints (type
@end defvar
@defvar BreakpointEvent.breakpoint
-A reference to the first breakpoint that was hit.
-This function is maintained for backward compatibility and is now deprecated
-in favor of the @code{gdb.BreakpointEvent.breakpoints} attribute.
+A reference to the first breakpoint that was hit. This attribute is
+maintained for backward compatibility and is now deprecated in favor
+of the @code{gdb.BreakpointEvent.breakpoints} attribute.
@end defvar
@item events.new_objfile
More information about the Gdb-cvs
mailing list