From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Jason Molenda Cc: gdb-patches@sources.redhat.com Subject: Re: [patch] remove extraneous check_typedef () call in c_val_print () Date: Wed, 05 Sep 2001 17:34:00 -0000 Message-id: <3B96C4AE.70401@cygnus.com> References: X-SW-Source: 2001-09/msg00053.html jason, i've sent you info on getting an account, once that is done, feel free to add your self to the write - after - approval list. andrew 2001-08-31 Jason Molenda (jmolenda@apple.com) * c-valprint.c (c_val_print): Second call to check_typedef () is no longer necessary. Index: c-valprint.c =================================================================== RCS file: /cvs/src/src/gdb/c-valprint.c,v retrieving revision 1.9 diff -u -p -r1.9 c-valprint.c --- c-valprint.c 2001/04/27 00:19:09 1.9 +++ c-valprint.c 2001/08/31 21:29:04 @@ -168,7 +168,6 @@ c_val_print (struct type *type, char *va { addr = unpack_pointer (type, valaddr + embedded_offset); print_unpacked_pointer: - elttype = check_typedef (TYPE_TARGET_TYPE (type)); if (TYPE_CODE (elttype) == TYPE_CODE_FUNC) {