aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-08-04 09:51:54 -0600
committerTom Tromey <tromey@adacore.com>2023-08-04 09:51:54 -0600
commit079e798302830c223cba374921c327ad72ea7db0 (patch)
tree2006069d0771e7eb7c701438871f7b2760cbf958
parent0133072f87b7ac0791413870876a0769ca7d44e0 (diff)
downloadgdb-079e798302830c223cba374921c327ad72ea7db0.zip
gdb-079e798302830c223cba374921c327ad72ea7db0.tar.gz
gdb-079e798302830c223cba374921c327ad72ea7db0.tar.bz2
Fix incorrect class name in free_objfile documentation
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.
-rw-r--r--gdb/doc/python.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index a4ec5bf..bd4818f 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