2001-08-31 Jason Molenda (jmolenda@apple.com)
authorMichael Snyder <msnyder@vmware.com>
Wed, 5 Sep 2001 23:07:08 +0000 (23:07 +0000)
committerMichael Snyder <msnyder@vmware.com>
Wed, 5 Sep 2001 23:07:08 +0000 (23:07 +0000)
* c-valprint.c (c_val_print):  Second call to check_typedef ()
is no longer necessary.

gdb/c-valprint.c

index e1e8b82..315d034 100644 (file)
@@ -168,7 +168,6 @@ c_val_print (struct type *type, char *valaddr, int embedded_offset,
        {
          addr = unpack_pointer (type, valaddr + embedded_offset);
        print_unpacked_pointer:
-         elttype = check_typedef (TYPE_TARGET_TYPE (type));
 
          if (TYPE_CODE (elttype) == TYPE_CODE_FUNC)
            {