public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] Fix incorrect class name in free_objfile documentation
@ 2023-08-04 15:53 Tom Tromey
  2023-08-04 16:05 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Tromey @ 2023-08-04 15:53 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

The documentation for the Python free_objfile event registry uses the
wrong class name.  This patch fixes it.  I'm checking this in as
obvious.
---
 gdb/doc/python.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index a4ec5bf5ceb..bd4818fb120 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -3715,7 +3715,7 @@ is about to be removed from @value{GDBN}.  One reason this can happen
 is when the inferior calls @code{dlclose}.
 @code{gdb.FreeObjFileEvent} has one attribute:
 
-@defvar NewObjFileEvent.objfile
+@defvar FreeObjFileEvent.objfile
 A reference to the object file (@code{gdb.Objfile}) which will be unloaded.
 @xref{Objfiles In Python}, for details of the @code{gdb.Objfile} object.
 @end defvar
-- 
2.40.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [pushed] Fix incorrect class name in free_objfile documentation
  2023-08-04 15:53 [pushed] Fix incorrect class name in free_objfile documentation Tom Tromey
@ 2023-08-04 16:05 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2023-08-04 16:05 UTC (permalink / raw)
  To: Tom Tromey; +Cc: gdb-patches

> Cc: Tom Tromey <tromey@adacore.com>
> Date: Fri,  4 Aug 2023 09:53:22 -0600
> From: Tom Tromey via Gdb-patches <gdb-patches@sourceware.org>
> 
> The documentation for the Python free_objfile event registry uses the
> wrong class name.  This patch fixes it.  I'm checking this in as
> obvious.

Thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-04 16:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-04 15:53 [pushed] Fix incorrect class name in free_objfile documentation Tom Tromey
2023-08-04 16:05 ` Eli Zaretskii

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).