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.
This commit is contained in:
parent
6b08edadd9
commit
06c4d4dc67
5 changed files with 22 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue