aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-abi.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/cp-abi.c')
-rw-r--r--gdb/cp-abi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cp-abi.c b/gdb/cp-abi.c
index cdc4a13..e949088 100644
--- a/gdb/cp-abi.c
+++ b/gdb/cp-abi.c
@@ -111,7 +111,7 @@ value_rtti_type (struct value *v, int *full,
int *top, int *using_enc)
{
struct type *ret = NULL;
- struct gdb_exception e;
+ volatile struct gdb_exception e;
if ((current_cp_abi.rtti_type) == NULL)
return NULL;