diff options
author | Tom Tromey <tromey@redhat.com> | 2012-02-23 20:55:47 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-02-23 20:55:47 +0000 |
commit | 6b446fdfb358bc4b7dc8ecd0fe7d9ac8bcbe3599 (patch) | |
tree | d6e926a4b94e635fa3fb310fcebdd79524824cab /gdb/jv-valprint.c | |
parent | 19765f5229668571b2a86c42cd2a1faa8e374208 (diff) | |
download | gdb-6b446fdfb358bc4b7dc8ecd0fe7d9ac8bcbe3599.zip gdb-6b446fdfb358bc4b7dc8ecd0fe7d9ac8bcbe3599.tar.gz gdb-6b446fdfb358bc4b7dc8ecd0fe7d9ac8bcbe3599.tar.bz2 |
* jv-valprint.c (java_val_print): Remove dead code.
Diffstat (limited to 'gdb/jv-valprint.c')
-rw-r--r-- | gdb/jv-valprint.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/jv-valprint.c b/gdb/jv-valprint.c index d430ba0..7f6e931 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) { |