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 e1e8b8211b430f97c551d0812ef1bda5c754345b..315d03479de0acec7133e0e0600937a86c3c2c9c 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)
            {