aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-valprint.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-07 17:06:29 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-07 17:06:29 +0000
commit13c3b5f5bbe5ad8aed357e17db7e7922bfd253d7 (patch)
tree1f3ec4c6ec974d49ea99c7ef409918510d7cc959 /gdb/cp-valprint.c
parentc4cf3821053bf03be5b25d63528c92d24c31f667 (diff)
downloadgdb-13c3b5f5bbe5ad8aed357e17db7e7922bfd253d7.zip
gdb-13c3b5f5bbe5ad8aed357e17db7e7922bfd253d7.tar.gz
gdb-13c3b5f5bbe5ad8aed357e17db7e7922bfd253d7.tar.bz2
2005-02-07 Andrew Cagney <cagney@gnu.org>
* value.h (value_embedded_offset): Delete. (value_embedded_offset): Declare. * value.c (value_embedded_offset): Define. * valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update. * gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update. * cp-abi.h: Update.
Diffstat (limited to 'gdb/cp-valprint.c')
-rw-r--r--gdb/cp-valprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c
index 8624e25..42a07fc 100644
--- a/gdb/cp-valprint.c
+++ b/gdb/cp-valprint.c
@@ -665,12 +665,12 @@ cp_print_static_field (struct type *type,
CHECK_TYPEDEF (type);
cp_print_value_fields (type, type, value_contents_all (val),
- VALUE_EMBEDDED_OFFSET (val), VALUE_ADDRESS (val),
+ value_embedded_offset (val), VALUE_ADDRESS (val),
stream, format, recurse, pretty, NULL, 1);
return;
}
val_print (type, value_contents_all (val),
- VALUE_EMBEDDED_OFFSET (val), VALUE_ADDRESS (val),
+ value_embedded_offset (val), VALUE_ADDRESS (val),
stream, format, 0, recurse, pretty);
}