summaryrefslogtreecommitdiff
path: root/gdb/gnu-v3-abi.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2005-03-19 19:44:10 +0000
committerDaniel Jacobowitz <dan@debian.org>2005-03-19 19:44:10 +0000
commit1866321046b37a713faa0a8c1e9b177c1aa0b740 (patch)
treeb05d7d8e0d94e53d548463f3cc1492d48ad31a4f /gdb/gnu-v3-abi.c
parentaed52bce5d074b51d6315acb49ba15e83bb0c5bb (diff)
downloadgdb-1866321046b37a713faa0a8c1e9b177c1aa0b740.tar.gz
* 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 b4973474785..9dc0232a64d 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,