aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-11-11 15:07:57 +0000
committerTom Tromey <tromey@redhat.com>2011-11-11 15:07:57 +0000
commit625c0d478525e9cce6a186206c228c09cd69ab9b (patch)
tree93d8344c283ed17cbfb24956c910dd40dc56b684
parent74e2f255485844a9662d354ac13c4c04dad92c5c (diff)
downloadgdb-625c0d478525e9cce6a186206c228c09cd69ab9b.zip
gdb-625c0d478525e9cce6a186206c228c09cd69ab9b.tar.gz
gdb-625c0d478525e9cce6a186206c228c09cd69ab9b.tar.bz2
PR c++/9257:
* gdb.texinfo (Print Settings): Add an extra note about the need for a vtable.
-rw-r--r--gdb/doc/ChangeLog6
-rw-r--r--gdb/doc/gdb.texinfo5
2 files changed, 10 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 05cf4fa..b962215 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,9 @@
+2011-11-10 Tom Tromey <tromey@redhat.com>
+
+ PR c++/9257:
+ * gdb.texinfo (Print Settings): Add an extra note about the need
+ for a vtable.
+
2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
* gdb.texinfo (MIPS): Remove duplicate "auto" reference from
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index d2bdefa..e898b4e 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -8372,7 +8372,10 @@ Display the encoding style currently in use for decoding C@t{++} symbols.
@cindex display derived types
When displaying a pointer to an object, identify the @emph{actual}
(derived) type of the object rather than the @emph{declared} type, using
-the virtual function table.
+the virtual function table. Note that the virtual function table is
+required---this feature can only work for objects that have run-time
+type identification; a single virtual method in the object's declared
+type is sufficient.
@item set print object off
Display only the declared type of objects, without reference to the