summaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2015-04-24 11:16:12 -0700
committerDoug Evans <dje@google.com>2015-04-24 11:16:12 -0700
commit897c3d327e2d60d996252c0a5cb13da3f40e9b9f (patch)
treea1aaeca80963d07ae4d75a3c60659114f3bd2165 /gdb/doc
parentde13ef81f041f7f51687ef1873c74e853b97e73a (diff)
downloadbinutils-gdb-897c3d327e2d60d996252c0a5cb13da3f40e9b9f.tar.gz
* python.texi (Xmethods In Python): Fix name of method to call the xmethod.
gdb/doc/ChangeLog: * python.texi (Xmethods In Python): Fix name of method to call the xmethod.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/python.texi2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 2335bc1f339..23b2e685f5b 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-24 Doug Evans <dje@google.com>
+
+ * python.texi (Xmethods In Python): Fix name of method to call the
+ xmethod.
+
2015-04-17 Gary Benson <gbenson@redhat.com>
* gdb.texinfo (Connecting to a Remote Target): Mention that
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 098d7180edc..448fa8b2ec9 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -2360,7 +2360,7 @@ xmethod worker is found to be equivalent to the winning C@t{++}
method, then the xmethod worker is treated as a replacement for
the C@t{++} method. @value{GDBN} uses the overall winner to invoke the
method. If the winning xmethod worker is the overall winner, then
-the corresponding xmethod is invoked via the @code{invoke} method
+the corresponding xmethod is invoked via the @code{__call__} method
of the worker object.
If one wants to implement an xmethod as a replacement for an