diff options
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 29db420..24d2720 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -5494,7 +5494,7 @@ insert_exception_resume_breakpoint (struct thread_info *tp, struct frame_info *frame, struct symbol *sym) { - struct gdb_exception e; + volatile struct gdb_exception e; /* We want to ignore errors here. */ TRY_CATCH (e, RETURN_MASK_ERROR) @@ -5532,7 +5532,7 @@ static void check_exception_resume (struct execution_control_state *ecs, struct frame_info *frame, struct symbol *func) { - struct gdb_exception e; + volatile struct gdb_exception e; TRY_CATCH (e, RETURN_MASK_ERROR) { @@ -5639,7 +5639,7 @@ keep_going (struct execution_control_state *ecs) } else { - struct gdb_exception e; + volatile struct gdb_exception e; /* Stop stepping when inserting breakpoints has failed. */ |