Remove regcache_xmalloc
[deliverable/binutils-gdb.git] / gdb / c-valprint.c
index ab1de5cf9e8fd21fbe1a599c73d5935f62185563..653fed657a979f7ffaae615c27a4ff0a983b1140 100644 (file)
@@ -454,8 +454,8 @@ c_val_print_int (struct type *type, struct type *unresolved_type,
     }
   else
     {
-      val_print_type_code_int (type, valaddr + embedded_offset * unit_size,
-                              stream);
+      val_print_scalar_formatted (type, embedded_offset,
+                                 original_value, options, 0, stream);
       /* C and C++ has no single byte int type, char is used
         instead.  Since we don't know whether the value is really
         intended to be used as an integer or a character, print
This page took 0.028247 seconds and 4 git commands to generate.