public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Minor fix to Python breakpoint event documentation
@ 2022-06-09 18:37 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2022-06-09 18:37 UTC (permalink / raw)
  To: gdb-cvs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-09 18:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-09 18:37 [binutils-gdb] Minor fix to Python breakpoint event documentation Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).