aboutsummaryrefslogtreecommitdiff
path: root/gdb/varobj.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-03-20 20:30:35 +0000
committerMark Kettenis <kettenis@gnu.org>2005-03-20 20:30:35 +0000
commit4dd04433961c088fd6a7fd3b2006b91eb1ff627f (patch)
tree7ce1e15759088d0a859248a1f908f3c07d8dda89 /gdb/varobj.c
parentee426e0ff6c9998ee350618ce68462ba132dc48d (diff)
downloadgdb-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/varobj.c')
-rw-r--r--gdb/varobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c
index 019af9e..23c2a51 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -1450,7 +1450,7 @@ variable_default_display (struct varobj *var)
can't be established, *ERROR2 is set to non-zero. */
static int
-my_value_equal (struct value *val1, struct value *val2, int *error2)
+my_value_equal (struct value *val1, struct value *volatile val2, int *error2)
{
volatile struct exception except;