aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-06-09 09:40:51 -0600
committerTom Tromey <tromey@adacore.com>2022-06-09 12:34:00 -0600
commit1c76a0e2a62191b7a5c0240c7178ed8a4c098fb7 (patch)
tree10fde1c3d4f4e56f597c5eaa547b7ad0c0d0b47a /gdb
parent396d2e56bed9cb1b90696d5a0969786144101d25 (diff)
downloadgdb-1c76a0e2a62191b7a5c0240c7178ed8a4c098fb7.zip
gdb-1c76a0e2a62191b7a5c0240c7178ed8a4c098fb7.tar.gz
gdb-1c76a0e2a62191b7a5c0240c7178ed8a4c098fb7.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/doc/python.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index ba5a9b3..aaf7666 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