Clarify infrun variable naming.
* infrun.c (trap_expected): Rename to stepping_over_breakpoint. Document. (stepping_past_breakpoint): Remove. (stepping_past_breakpoint_ptdi): Renamed to deferred_step_ptid. (struct execution_control_state): Rename the another_trap field to stepping_over_breakpoint. (struct inferior_status): Rename the trap_expected field to stepping_over_breakpoint. (clear_proceed_status, proceed) (init_execution_control_state, context_switch) (handle_inferior_event, currently_stepping) (keep_going, save_inferior_status) (restore_inferior_status, prepare_to_proceed): Adjust. * gdbthread.h (struct thread_info): Rename the trap_expected field to stepping_over_breakpoint. * thread.c (load_infrun_state, save_infrun_state): Adjust.
This commit is contained in:
parent
2c6474365f
commit
ca67fcb81a
4 changed files with 99 additions and 50 deletions
|
@ -300,7 +300,7 @@ load_infrun_state (ptid_t ptid,
|
|||
CORE_ADDR *step_range_end,
|
||||
struct frame_id *step_frame_id,
|
||||
int *handling_longjmp,
|
||||
int *another_trap,
|
||||
int *stepping_over_breakpoint,
|
||||
int *stepping_through_solib_after_catch,
|
||||
bpstat *stepping_through_solib_catchpoints,
|
||||
int *current_line,
|
||||
|
@ -321,7 +321,7 @@ load_infrun_state (ptid_t ptid,
|
|||
*step_range_end = tp->step_range_end;
|
||||
*step_frame_id = tp->step_frame_id;
|
||||
*handling_longjmp = tp->handling_longjmp;
|
||||
*another_trap = tp->another_trap;
|
||||
*stepping_over_breakpoint = tp->stepping_over_breakpoint;
|
||||
*stepping_through_solib_after_catch =
|
||||
tp->stepping_through_solib_after_catch;
|
||||
*stepping_through_solib_catchpoints =
|
||||
|
@ -341,7 +341,7 @@ save_infrun_state (ptid_t ptid,
|
|||
CORE_ADDR step_range_end,
|
||||
const struct frame_id *step_frame_id,
|
||||
int handling_longjmp,
|
||||
int another_trap,
|
||||
int stepping_over_breakpoint,
|
||||
int stepping_through_solib_after_catch,
|
||||
bpstat stepping_through_solib_catchpoints,
|
||||
int current_line,
|
||||
|
@ -362,7 +362,7 @@ save_infrun_state (ptid_t ptid,
|
|||
tp->step_range_end = step_range_end;
|
||||
tp->step_frame_id = (*step_frame_id);
|
||||
tp->handling_longjmp = handling_longjmp;
|
||||
tp->another_trap = another_trap;
|
||||
tp->stepping_over_breakpoint = stepping_over_breakpoint;
|
||||
tp->stepping_through_solib_after_catch = stepping_through_solib_after_catch;
|
||||
tp->stepping_through_solib_catchpoints = stepping_through_solib_catchpoints;
|
||||
tp->current_line = current_line;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue