projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* c-valprint.c (c_val_print): Add embedded_offset to address
[binutils-gdb.git]
/
gdb
/
p-valprint.c
diff --git
a/gdb/p-valprint.c
b/gdb/p-valprint.c
index fc50e2a3140e35ab3cc9fb105010dde237680e5c..ee765421eeb625a4b2c4377ffda7e9ef7da720d9 100644
(file)
--- a/
gdb/p-valprint.c
+++ b/
gdb/p-valprint.c
@@
-128,7
+128,7
@@
pascal_val_print (struct type *type, const gdb_byte *valaddr,
break;
}
/* Array of unspecified length: treat like pointer to first elt. */
- addr = address;
+ addr = address
+ embedded_offset
;
goto print_unpacked_pointer;
case TYPE_CODE_PTR: