From 1c76a0e2a62191b7a5c0240c7178ed8a4c098fb7 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 9 Jun 2022 09:40:51 -0600 Subject: 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. --- gdb/doc/python.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb') 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 -- cgit v1.1