From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id D529E386DC78; Thu, 9 Jun 2022 18:37:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D529E386DC78 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Minor fix to Python breakpoint event documentation X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: 396d2e56bed9cb1b90696d5a0969786144101d25 X-Git-Newrev: 1c76a0e2a62191b7a5c0240c7178ed8a4c098fb7 Message-Id: <20220609183731.D529E386DC78@sourceware.org> Date: Thu, 9 Jun 2022 18:37:31 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jun 2022 18:37:31 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D1c76a0e2a621= 91b7a5c0240c7178ed8a4c098fb7 commit 1c76a0e2a62191b7a5c0240c7178ed8a4c098fb7 Author: Tom Tromey Date: Thu Jun 9 09:40:51 2022 -0600 Minor fix to Python breakpoint event documentation =20 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 breakpoin= ts (type @end defvar =20 @defvar BreakpointEvent.breakpoint -A reference to the first breakpoint that was hit. -This function is maintained for backward compatibility and is now deprecat= ed=20 -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 =20 @item events.new_objfile