From: Tom Tromey Date: Thu, 9 Jun 2022 15:40:51 +0000 (-0600) Subject: Minor fix to Python breakpoint event documentation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c76a0e2a62191b7a5c0240c7178ed8a4c098fb7;p=binutils-gdb.git 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 --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