diff options
Diffstat (limited to 'gdb/c-valprint.c')
-rw-r--r-- | gdb/c-valprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c index 8e4f932..76579d2 100644 --- a/gdb/c-valprint.c +++ b/gdb/c-valprint.c @@ -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: |