[patch] remove extraneous check_typedef () call in c_val_print ()
Andrew Cagney
ac131313@cygnus.com
Wed Sep 5 17:34:00 GMT 2001
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)
{
More information about the Gdb-patches
mailing list