This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patch] remove extraneous check_typedef () call in c_val_print ()


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)
             {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]