* gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of
VALADDR.
+2005-03-19 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.
+ * gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of
+ VALADDR.
+
2005-03-18 Kevin Buettner <kevinb@redhat.com>
* Makefile.in (dwarf2loc.o, linux-thread-db.o): Add dependencies.
dwarf_expr_tls_address (void *baton, CORE_ADDR offset)
{
struct dwarf_expr_baton *debaton = (struct dwarf_expr_baton *) baton;
- CORE_ADDR addr;
+ CORE_ADDR addr = 0;
if (target_get_thread_local_address_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,