* dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.

* gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of
	VALADDR.
This commit is contained in:
Daniel Jacobowitz 2005-03-19 19:44:10 +00:00
parent e493ab45b1
commit 96ce45cadb
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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.

View File

@ -186,7 +186,7 @@ static CORE_ADDR
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 ())
{

View File

@ -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,