gdb/
[deliverable/binutils-gdb.git] / gdb / c-valprint.c
index 8e4f9326741a7061644a3e1fb6bd41330f1a5d0f..76579d2116c1a016fdb14f516ed2d57503c53629 100644 (file)
@@ -240,7 +240,7 @@ c_val_print (struct type *type, const gdb_byte *valaddr,
        }
       /* Array of unspecified length: treat like pointer to first
         elt.  */
-      addr = address;
+      addr = address + embedded_offset;
       goto print_unpacked_pointer;
 
     case TYPE_CODE_MEMBERPTR:
This page took 0.02448 seconds and 4 git commands to generate.