aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorSergio Durigan Junior <sergiodj@redhat.com>2012-01-06 03:34:46 +0000
committerSergio Durigan Junior <sergiodj@redhat.com>2012-01-06 03:34:46 +0000
commitbfd189b164f4f35510573c3b18f194e5613fe1cb (patch)
treedc90429f438349d14976eb49226e6ba09310b094 /gdb/mi
parent0cf59e774197b547355aaafdd20e99f997f250ad (diff)
downloadgdb-bfd189b164f4f35510573c3b18f194e5613fe1cb.zip
gdb-bfd189b164f4f35510573c3b18f194e5613fe1cb.tar.gz
gdb-bfd189b164f4f35510573c3b18f194e5613fe1cb.tar.bz2
2012-01-06 Sergio Durigan Junior <sergiodj@redhat.com>
Thiago Jung Bauermann <bauerman@br.ibm.com> * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword before `struct gdb_exception'. * breakpoint.c (update_global_location_list_nothrow) (update_breakpoint_locations, enable_breakpoint_disp): Likewise. * cp-abi.c (value_rtti_type): Likewise. * cp-support.c (cp_validate_operator): Likewise. * infrun.c (insert_exception_resume_breakpoint) (check_exception_resume, keep_going): Likewise. * mi-interp.c (mi_breakpoint_created) (mi_breakpoint_modified): Likewise. * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise. * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p) (ia64_hpux_handle_dld_breakpoint_1): Likewise.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-interp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c
index c9cd24d..cb22ce2 100644
--- a/gdb/mi/mi-interp.c
+++ b/gdb/mi/mi-interp.c
@@ -491,7 +491,7 @@ mi_breakpoint_created (struct breakpoint *b)
{
struct mi_interp *mi = top_level_interpreter_data ();
struct ui_out *mi_uiout = interp_ui_out (top_level_interpreter ());
- struct gdb_exception e;
+ volatile struct gdb_exception e;
if (mi_suppress_breakpoint_notifications)
return;
@@ -543,7 +543,7 @@ mi_breakpoint_modified (struct breakpoint *b)
{
struct mi_interp *mi = top_level_interpreter_data ();
struct ui_out *mi_uiout = interp_ui_out (top_level_interpreter ());
- struct gdb_exception e;
+ volatile struct gdb_exception e;
if (mi_suppress_breakpoint_notifications)
return;