diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-01-28 06:29:42 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-01-28 06:29:42 +0000 |
commit | 06c4d4dc676dcc0f583bc61170feabfd183a197d (patch) | |
tree | 1d16008cd5a0811f788efa7bc1ecf09fcd8eec3b /gdb/gnu-v2-abi.c | |
parent | 6b08edadd9323771e6f533f7bac2c0656b89f11d (diff) | |
download | gdb-06c4d4dc676dcc0f583bc61170feabfd183a197d.zip gdb-06c4d4dc676dcc0f583bc61170feabfd183a197d.tar.gz gdb-06c4d4dc676dcc0f583bc61170feabfd183a197d.tar.bz2 |
2005-01-28 Andrew Cagney <cagney@gnu.org>
* gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const
bfd_byte.
* cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte.
(struct cp_abi_ops): Make baseclass_offset's "valaddr" a const
bfd_byte.
* cp-abi.c (baseclass_offset): Update.
* gnu-v2-abi.c (gnuv2_baseclass_offset): Update.
Diffstat (limited to 'gdb/gnu-v2-abi.c')
-rw-r--r-- | gdb/gnu-v2-abi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gnu-v2-abi.c b/gdb/gnu-v2-abi.c index 20b6975..f545ac1 100644 --- a/gdb/gnu-v2-abi.c +++ b/gdb/gnu-v2-abi.c @@ -346,8 +346,8 @@ vb_match (struct type *type, int index, struct type *basetype) -1 is returned on error. */ int -gnuv2_baseclass_offset (struct type *type, int index, char *valaddr, - CORE_ADDR address) +gnuv2_baseclass_offset (struct type *type, int index, + const bfd_byte *valaddr, CORE_ADDR address) { struct type *basetype = TYPE_BASECLASS (type, index); |