Fix problems introduced with my last change.
[deliverable/binutils-gdb.git] / gdb / cp-valprint.c
index b70ef219d6c37021d72350246894dbf775c6a327..bec2c52197ece13215a10172af61f17c9f9d72e9 100644 (file)
@@ -429,7 +429,7 @@ cp_print_value_fields (type, real_type, valaddr, offset, address, stream, format
       /* pai: FIXME 32x64 problem? */
       /* Not sure what the best notation is in the case where there is no
          baseclass name.  */
-      v = value_from_longest (lookup_pointer_type (builtin_type_unsigned_long),
+      v = value_from_pointer (lookup_pointer_type (builtin_type_unsigned_long),
                              *(unsigned long *) (valaddr + offset));
 
       val_print (VALUE_TYPE (v), VALUE_CONTENTS (v), 0, 0,
This page took 0.023871 seconds and 4 git commands to generate.