aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-valprint.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2001-09-05 23:07:08 +0000
committerMichael Snyder <msnyder@vmware.com>2001-09-05 23:07:08 +0000
commit0093d52fedba0dc655b45af6cee85e39868be6ce (patch)
tree0ba3009198041daef4019ac695ec3d83dc698437 /gdb/c-valprint.c
parent3969b680c3837ed82ce9d6d9b11a4aac02e1286e (diff)
downloadgdb-0093d52fedba0dc655b45af6cee85e39868be6ce.zip
gdb-0093d52fedba0dc655b45af6cee85e39868be6ce.tar.gz
gdb-0093d52fedba0dc655b45af6cee85e39868be6ce.tar.bz2
2001-08-31 Jason Molenda (jmolenda@apple.com)
* c-valprint.c (c_val_print): Second call to check_typedef () is no longer necessary.
Diffstat (limited to 'gdb/c-valprint.c')
-rw-r--r--gdb/c-valprint.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c
index e1e8b82..315d034 100644
--- a/gdb/c-valprint.c
+++ b/gdb/c-valprint.c
@@ -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)
{