* jv-valprint.c (java_val_print): Remove dead code.
authorTom Tromey <tromey@redhat.com>
Thu, 23 Feb 2012 20:55:47 +0000 (20:55 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 23 Feb 2012 20:55:47 +0000 (20:55 +0000)
gdb/ChangeLog
gdb/jv-valprint.c

index 3c50019249c28c545f61c3118703845a68e2349c..e3cf077c8577b212c08404d77e202653f333c3ae 100644 (file)
@@ -1,3 +1,7 @@
+2012-02-23  Tom Tromey  <tromey@redhat.com>
+
+       * jv-valprint.c (java_val_print): Remove dead code.
+
 2012-02-23  Tristan Gingold  <gingold@adacore.com>
 
        * ada-tasks.c (struct ada_tasks_inferior_data): Add
index d430ba090a63401c60904e53d886f3efcb3e0d82..7f6e93113def06b10d01a122e58d252e88c07cc0 100644 (file)
@@ -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)
        {