aboutsummaryrefslogtreecommitdiff
path: root/gdb/hpacc-abi.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/hpacc-abi.c')
-rw-r--r--gdb/hpacc-abi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/hpacc-abi.c b/gdb/hpacc-abi.c
index 1cd7ad6d..79b4c69 100644
--- a/gdb/hpacc-abi.c
+++ b/gdb/hpacc-abi.c
@@ -219,7 +219,7 @@ hpacc_value_rtti_type (struct value *v, int *full, int *top, int *using_enc)
*using_enc = 1;
/* First get the virtual table address */
- coreptr = *(CORE_ADDR *) ((VALUE_CONTENTS_ALL (v))
+ coreptr = *(CORE_ADDR *) ((value_contents_all (v))
+ value_offset (v)
+ (using_enclosing
? 0