summaryrefslogtreecommitdiff
path: root/gdb/cp-abi.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-28 06:29:42 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-28 06:29:42 +0000
commit3bf3a0b27273d803393a460bd8b9ca9658a6640e (patch)
tree11b8032b511dc919d0641c4648c094bc15811b6d /gdb/cp-abi.c
parentb0f2ccc00a4703c2ab4c8243bca4d5ed85d30efe (diff)
downloadgdb-3bf3a0b27273d803393a460bd8b9ca9658a6640e.tar.gz
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/cp-abi.c')
-rw-r--r--gdb/cp-abi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/cp-abi.c b/gdb/cp-abi.c
index a8530209c9b..e347d5e83d2 100644
--- a/gdb/cp-abi.c
+++ b/gdb/cp-abi.c
@@ -1,5 +1,6 @@
/* Generic code for supporting multiple C++ ABI's
- Copyright 2001, 2002, 2003 Free Software Foundation, Inc.
+
+ Copyright 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
This file is part of GDB.
@@ -69,7 +70,7 @@ is_operator_name (const char *name)
}
int
-baseclass_offset (struct type *type, int index, char *valaddr,
+baseclass_offset (struct type *type, int index, const bfd_byte *valaddr,
CORE_ADDR address)
{
if (current_cp_abi.baseclass_offset == NULL)