aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnu-v3-abi.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-03-19 19:44:10 +0000
committerDaniel Jacobowitz <drow@false.org>2005-03-19 19:44:10 +0000
commit96ce45cadbfd1ccb332d451612e38d533416b3db (patch)
treee17ae72037f04a2e9c1695f1ce1522a79aebb235 /gdb/gnu-v3-abi.c
parente493ab45b14a1970aa89dedd408aaf12645a278b (diff)
downloadfsf-binutils-gdb-96ce45cadbfd1ccb332d451612e38d533416b3db.zip
fsf-binutils-gdb-96ce45cadbfd1ccb332d451612e38d533416b3db.tar.gz
fsf-binutils-gdb-96ce45cadbfd1ccb332d451612e38d533416b3db.tar.bz2
* dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.
* gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of VALADDR.
Diffstat (limited to 'gdb/gnu-v3-abi.c')
-rw-r--r--gdb/gnu-v3-abi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gnu-v3-abi.c b/gdb/gnu-v3-abi.c
index b497347..9dc0232 100644
--- a/gdb/gnu-v3-abi.c
+++ b/gdb/gnu-v3-abi.c
@@ -355,7 +355,7 @@ gnuv3_virtual_fn_field (struct value **value_p,
-1 is returned on error. */
static int
-gnuv3_baseclass_offset (struct type *type, int index, char *valaddr,
+gnuv3_baseclass_offset (struct type *type, int index, const bfd_byte *valaddr,
CORE_ADDR address)
{
struct type *vtable_type = gdbarch_data (current_gdbarch,