summaryrefslogtreecommitdiff
path: root/gdb/jv-valprint.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-02-23 20:55:45 +0000
committerTom Tromey <tromey@redhat.com>2012-02-23 20:55:45 +0000
commit0313762da6eb5e7765fbb335c88e5a18ab390b97 (patch)
tree00ff9cb34fbc329f5f5a4215413eec31c5dddc81 /gdb/jv-valprint.c
parent568ce38d4e70fac3dc1c782fd2dd02841033c9bc (diff)
downloadgdb-0313762da6eb5e7765fbb335c88e5a18ab390b97.tar.gz
* jv-valprint.c (java_val_print): Remove dead code.
Diffstat (limited to 'gdb/jv-valprint.c')
-rw-r--r--gdb/jv-valprint.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/jv-valprint.c b/gdb/jv-valprint.c
index d430ba090a6..7f6e93113de 100644
--- a/gdb/jv-valprint.c
+++ b/gdb/jv-valprint.c
@@ -500,21 +500,6 @@ java_val_print (struct type *type, const gdb_byte *valaddr,
val, options, 0, stream);
break;
}
-#if 0
- if (options->vtblprint && cp_is_vtbl_ptr_type (type))
- {
- /* Print the unmangled name if desired. */
- /* Print vtable entry - we only get here if we ARE using
- -fvtable_thunks. (Otherwise, look under TYPE_CODE_STRUCT.) */
- /* Extract an address, assume that it is unsigned. */
- print_address_demangle
- (gdbarch,
- extract_unsigned_integer (valaddr + embedded_offset,
- TYPE_LENGTH (type)),
- stream, demangle);
- break;
- }
-#endif
addr = unpack_pointer (type, valaddr + embedded_offset);
if (addr == 0)
{