aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2loc.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/dwarf2loc.c
parente493ab45b14a1970aa89dedd408aaf12645a278b (diff)
downloadgdb-96ce45cadbfd1ccb332d451612e38d533416b3db.zip
gdb-96ce45cadbfd1ccb332d451612e38d533416b3db.tar.gz
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/dwarf2loc.c')
-rw-r--r--gdb/dwarf2loc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c
index fc86470..d9b1271 100644
--- a/gdb/dwarf2loc.c
+++ b/gdb/dwarf2loc.c
@@ -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 ())
{