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 | 49ea02cc21c1c8448824a0b3c5def4225e2e7057 (patch) | |
tree | 74ea2d8bc2c2a9caa21f94afe2a5d012f1a32a93 /gdb/dwarf2loc.c | |
parent | 01b39e850f97ff4827b9ffc7c7852a69a1729947 (diff) | |
download | gdb-49ea02cc21c1c8448824a0b3c5def4225e2e7057.tar.gz |
* 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 d9b1271ad48..20bb65ca939 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 ()) { |