aboutsummaryrefslogtreecommitdiff
path: root/gdb/hpacc-abi.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-02 21:36:17 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-02 21:36:17 +0000
commit46615f07c3db91f7a0f138baec128749604dca43 (patch)
tree0c281bc164e338ce3b4bc9aedc5821ccab65a223 /gdb/hpacc-abi.c
parent1b9afc0454112ae9ac41f6e8ee45ca915f97adc8 (diff)
downloadgdb-46615f07c3db91f7a0f138baec128749604dca43.zip
gdb-46615f07c3db91f7a0f138baec128749604dca43.tar.gz
gdb-46615f07c3db91f7a0f138baec128749604dca43.tar.bz2
2005-02-02 Andrew Cagney <cagney@gnu.org>
* value.h (VALUE_CONTENTS_ALL): Delete. (value_contents_all): Declare. * value.c (value_contents_all): New function. * hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update. * m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.
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