This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
[python] Fix references to renamed gdb.default_visualizer indocumentation
- From: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- To: archer ml <archer at sourceware dot org>
- Date: Tue, 16 Dec 2008 12:31:16 -0200
- Subject: [python] Fix references to renamed gdb.default_visualizer indocumentation
Hi,
I missed this when renaming gdb.default_visualizer. Committed.
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center
2008-12-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.texinfo (GDB/MI Variable Objects): Fix references to renamed
`gdb.default_visualizer' Python function.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 8d9009c..d1f3c5e 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -22654,11 +22654,11 @@ the varobj @var{name} as an argument. This function must return an
object which conforms to the pretty-printing interface (@pxref{Pretty
Printing}).
-The pre-defined function @code{gdb.get_default_visualizer} may be used
+The pre-defined function @code{gdb.default_visualizer} may be used
to select a visualizer according to the type of the varobj. This is
called when a varobj is created, and so ordinarily is not needed.
-@code{gdb.get_default_visualizer} looks in the global dictionary named
+@code{gdb.default_visualizer} looks in the global dictionary named
@code{gdb.pretty_printers}.
This feature is only available if Python support is enabled.
@@ -22677,7 +22677,7 @@ Reselecting the default (type-based) visualizer:
@smallexample
(gdb)
--var-set-visualizer V gdb.get_default_visualizer
+-var-set-visualizer V gdb.default_visualizer
^done
@end smallexample