diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-03-20 20:30:35 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-03-20 20:30:35 +0000 |
commit | 4dd04433961c088fd6a7fd3b2006b91eb1ff627f (patch) | |
tree | 7ce1e15759088d0a859248a1f908f3c07d8dda89 /gdb/dwarf2loc.c | |
parent | ee426e0ff6c9998ee350618ce68462ba132dc48d (diff) | |
download | gdb-4dd04433961c088fd6a7fd3b2006b91eb1ff627f.zip gdb-4dd04433961c088fd6a7fd3b2006b91eb1ff627f.tar.gz gdb-4dd04433961c088fd6a7fd3b2006b91eb1ff627f.tar.bz2 |
* dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.
* varobj.c (my_value_equal): Mark val2 as volatile.
Diffstat (limited to 'gdb/dwarf2loc.c')
-rw-r--r-- | gdb/dwarf2loc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index d9b1271..20bb65c 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 = 0; + volatile CORE_ADDR addr = 0; if (target_get_thread_local_address_p ()) { |