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
|
@ -1,3 +1,20 @@
|
||||||
|
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.
|
||||||
|
|
||||||
2012-01-05 Doug Evans <dje@google.com>
|
2012-01-05 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
* dwarf2read.c (statement_prologue): Delete, unused.
|
* dwarf2read.c (statement_prologue): Delete, unused.
|
||||||
|
|
|
@ -10943,7 +10943,7 @@ static CORE_ADDR
|
||||||
ada_exception_name_addr (enum exception_catchpoint_kind ex,
|
ada_exception_name_addr (enum exception_catchpoint_kind ex,
|
||||||
struct breakpoint *b)
|
struct breakpoint *b)
|
||||||
{
|
{
|
||||||
struct gdb_exception e;
|
volatile struct gdb_exception e;
|
||||||
CORE_ADDR result = 0;
|
CORE_ADDR result = 0;
|
||||||
|
|
||||||
TRY_CATCH (e, RETURN_MASK_ERROR)
|
TRY_CATCH (e, RETURN_MASK_ERROR)
|
||||||
|
|
|
@ -10713,7 +10713,7 @@ breakpoint_retire_moribund (void)
|
||||||
static void
|
static void
|
||||||
update_global_location_list_nothrow (int inserting)
|
update_global_location_list_nothrow (int inserting)
|
||||||
{
|
{
|
||||||
struct gdb_exception e;
|
volatile struct gdb_exception e;
|
||||||
|
|
||||||
TRY_CATCH (e, RETURN_MASK_ERROR)
|
TRY_CATCH (e, RETURN_MASK_ERROR)
|
||||||
update_global_location_list (inserting);
|
update_global_location_list (inserting);
|
||||||
|
@ -11753,7 +11753,7 @@ update_breakpoint_locations (struct breakpoint *b,
|
||||||
if (b->cond_string != NULL)
|
if (b->cond_string != NULL)
|
||||||
{
|
{
|
||||||
char *s;
|
char *s;
|
||||||
struct gdb_exception e;
|
volatile struct gdb_exception e;
|
||||||
|
|
||||||
s = b->cond_string;
|
s = b->cond_string;
|
||||||
TRY_CATCH (e, RETURN_MASK_ERROR)
|
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. */
|
/* Initialize it just to avoid a GCC false warning. */
|
||||||
enum enable_state orig_enable_state = 0;
|
enum enable_state orig_enable_state = 0;
|
||||||
struct gdb_exception e;
|
volatile struct gdb_exception e;
|
||||||
|
|
||||||
TRY_CATCH (e, RETURN_MASK_ALL)
|
TRY_CATCH (e, RETURN_MASK_ALL)
|
||||||
{
|
{
|
||||||
|
|
|
@ -111,7 +111,7 @@ value_rtti_type (struct value *v, int *full,
|
||||||
int *top, int *using_enc)
|
int *top, int *using_enc)
|
||||||
{
|
{
|
||||||
struct type *ret = NULL;
|
struct type *ret = NULL;
|
||||||
struct gdb_exception e;
|
volatile struct gdb_exception e;
|
||||||
|
|
||||||
if ((current_cp_abi.rtti_type) == NULL)
|
if ((current_cp_abi.rtti_type) == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
@ -1470,7 +1470,7 @@ cp_validate_operator (const char *input)
|
||||||
const char *p;
|
const char *p;
|
||||||
struct expression *expr;
|
struct expression *expr;
|
||||||
struct value *val;
|
struct value *val;
|
||||||
struct gdb_exception except;
|
volatile struct gdb_exception except;
|
||||||
|
|
||||||
p = input;
|
p = input;
|
||||||
|
|
||||||
|
|
|
@ -5494,7 +5494,7 @@ insert_exception_resume_breakpoint (struct thread_info *tp,
|
||||||
struct frame_info *frame,
|
struct frame_info *frame,
|
||||||
struct symbol *sym)
|
struct symbol *sym)
|
||||||
{
|
{
|
||||||
struct gdb_exception e;
|
volatile struct gdb_exception e;
|
||||||
|
|
||||||
/* We want to ignore errors here. */
|
/* We want to ignore errors here. */
|
||||||
TRY_CATCH (e, RETURN_MASK_ERROR)
|
TRY_CATCH (e, RETURN_MASK_ERROR)
|
||||||
|
@ -5532,7 +5532,7 @@ static void
|
||||||
check_exception_resume (struct execution_control_state *ecs,
|
check_exception_resume (struct execution_control_state *ecs,
|
||||||
struct frame_info *frame, struct symbol *func)
|
struct frame_info *frame, struct symbol *func)
|
||||||
{
|
{
|
||||||
struct gdb_exception e;
|
volatile struct gdb_exception e;
|
||||||
|
|
||||||
TRY_CATCH (e, RETURN_MASK_ERROR)
|
TRY_CATCH (e, RETURN_MASK_ERROR)
|
||||||
{
|
{
|
||||||
|
@ -5639,7 +5639,7 @@ keep_going (struct execution_control_state *ecs)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
struct gdb_exception e;
|
volatile struct gdb_exception e;
|
||||||
|
|
||||||
/* Stop stepping when inserting breakpoints
|
/* Stop stepping when inserting breakpoints
|
||||||
has failed. */
|
has failed. */
|
||||||
|
|
|
@ -491,7 +491,7 @@ mi_breakpoint_created (struct breakpoint *b)
|
||||||
{
|
{
|
||||||
struct mi_interp *mi = top_level_interpreter_data ();
|
struct mi_interp *mi = top_level_interpreter_data ();
|
||||||
struct ui_out *mi_uiout = interp_ui_out (top_level_interpreter ());
|
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)
|
if (mi_suppress_breakpoint_notifications)
|
||||||
return;
|
return;
|
||||||
|
@ -543,7 +543,7 @@ mi_breakpoint_modified (struct breakpoint *b)
|
||||||
{
|
{
|
||||||
struct mi_interp *mi = top_level_interpreter_data ();
|
struct mi_interp *mi = top_level_interpreter_data ();
|
||||||
struct ui_out *mi_uiout = interp_ui_out (top_level_interpreter ());
|
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)
|
if (mi_suppress_breakpoint_notifications)
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -583,7 +583,7 @@ rs6000_convert_from_func_ptr_addr (struct gdbarch *gdbarch,
|
||||||
{
|
{
|
||||||
CORE_ADDR pc = 0;
|
CORE_ADDR pc = 0;
|
||||||
struct obj_section *pc_section;
|
struct obj_section *pc_section;
|
||||||
struct gdb_exception e;
|
volatile struct gdb_exception e;
|
||||||
|
|
||||||
TRY_CATCH (e, RETURN_MASK_ERROR)
|
TRY_CATCH (e, RETURN_MASK_ERROR)
|
||||||
{
|
{
|
||||||
|
|
|
@ -164,7 +164,7 @@ ia64_hpux_at_dld_breakpoint_1_p (ptid_t ptid)
|
||||||
int
|
int
|
||||||
ia64_hpux_at_dld_breakpoint_p (ptid_t ptid)
|
ia64_hpux_at_dld_breakpoint_p (ptid_t ptid)
|
||||||
{
|
{
|
||||||
struct gdb_exception e;
|
volatile struct gdb_exception e;
|
||||||
ptid_t saved_ptid = inferior_ptid;
|
ptid_t saved_ptid = inferior_ptid;
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
||||||
|
@ -278,7 +278,7 @@ ia64_hpux_handle_dld_breakpoint_1 (ptid_t ptid)
|
||||||
void
|
void
|
||||||
ia64_hpux_handle_dld_breakpoint (ptid_t ptid)
|
ia64_hpux_handle_dld_breakpoint (ptid_t ptid)
|
||||||
{
|
{
|
||||||
struct gdb_exception e;
|
volatile struct gdb_exception e;
|
||||||
ptid_t saved_ptid = inferior_ptid;
|
ptid_t saved_ptid = inferior_ptid;
|
||||||
|
|
||||||
inferior_ptid = ptid;
|
inferior_ptid = ptid;
|
||||||
|
|
Loading…
Reference in New Issue