mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
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:
@ -10713,7 +10713,7 @@ breakpoint_retire_moribund (void)
|
||||
static void
|
||||
update_global_location_list_nothrow (int inserting)
|
||||
{
|
||||
struct gdb_exception e;
|
||||
volatile struct gdb_exception e;
|
||||
|
||||
TRY_CATCH (e, RETURN_MASK_ERROR)
|
||||
update_global_location_list (inserting);
|
||||
@ -11753,7 +11753,7 @@ update_breakpoint_locations (struct breakpoint *b,
|
||||
if (b->cond_string != NULL)
|
||||
{
|
||||
char *s;
|
||||
struct gdb_exception e;
|
||||
volatile struct gdb_exception e;
|
||||
|
||||
s = b->cond_string;
|
||||
TRY_CATCH (e, RETURN_MASK_ERROR)
|
||||
@ -12324,7 +12324,7 @@ enable_breakpoint_disp (struct breakpoint *bpt, enum bpdisp disposition)
|
||||
{
|
||||
/* Initialize it just to avoid a GCC false warning. */
|
||||
enum enable_state orig_enable_state = 0;
|
||||
struct gdb_exception e;
|
||||
volatile struct gdb_exception e;
|
||||
|
||||
TRY_CATCH (e, RETURN_MASK_ALL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user