This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] remove extraneous check_typedef () call in c_val_print ()
- To: Jason Molenda <jmolenda at apple dot com>
- Subject: Re: [patch] remove extraneous check_typedef () call in c_val_print ()
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 05 Sep 2001 20:34:54 -0400
- Cc: gdb-patches at sources dot redhat dot com
- References: <E557604E-9E58-11D5-BF6F-000393540DDC@apple.com>
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)
{