From ca67fcb81a300f8e2e58246cc64d971514e95d5a Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 6 Dec 2007 12:57:51 +0000 Subject: 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. --- gdb/gdbthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/gdbthread.h') diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h index aeb4a40..12e0bcc 100644 --- a/gdb/gdbthread.h +++ b/gdb/gdbthread.h @@ -49,7 +49,7 @@ struct thread_info struct symtab *current_symtab; int trap_expected; int handling_longjmp; - int another_trap; + int stepping_over_breakpoint; /* This is set TRUE when a catchpoint of a shared library event triggers. Since we don't wish to leave the inferior in the -- cgit v1.1