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.
This commit is contained in:
parent
0cf59e7741
commit
bfd189b164
9 changed files with 31 additions and 14 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue