From bfd189b164f4f35510573c3b18f194e5613fe1cb Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Fri, 6 Jan 2012 03:34:46 +0000 Subject: 2012-01-06 Sergio Durigan Junior Thiago Jung Bauermann * 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. --- gdb/solib-ia64-hpux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/solib-ia64-hpux.c') diff --git a/gdb/solib-ia64-hpux.c b/gdb/solib-ia64-hpux.c index 8a45d75..f349c4c 100644 --- a/gdb/solib-ia64-hpux.c +++ b/gdb/solib-ia64-hpux.c @@ -164,7 +164,7 @@ ia64_hpux_at_dld_breakpoint_1_p (ptid_t ptid) int ia64_hpux_at_dld_breakpoint_p (ptid_t ptid) { - struct gdb_exception e; + volatile struct gdb_exception e; ptid_t saved_ptid = inferior_ptid; int result = 0; @@ -278,7 +278,7 @@ ia64_hpux_handle_dld_breakpoint_1 (ptid_t ptid) void ia64_hpux_handle_dld_breakpoint (ptid_t ptid) { - struct gdb_exception e; + volatile struct gdb_exception e; ptid_t saved_ptid = inferior_ptid; inferior_ptid = ptid; -- cgit v1.1