diff options
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r-- | gdb/varobj.c | 2 |
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; |