Garbage collect the infwait_state global
No longer used since the non-continuable watchpoints handling rework. gdb/ 2014-11-12 Pedro Alves <palves@redhat.com> * infrun.c (enum infwait_states, infwait_state): Delete.
This commit is contained in:
parent
af48d08f97
commit
6218dc4bdb
|
@ -1,3 +1,7 @@
|
||||||
|
2014-11-12 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
* infrun.c (enum infwait_states, infwait_state): Delete.
|
||||||
|
|
||||||
2014-11-12 Pedro Alves <palves@redhat.com>
|
2014-11-12 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
* infrun.c (resume): Clear the thread's 'stepped_breakpoint' flag.
|
* infrun.c (resume): Clear the thread's 'stepped_breakpoint' flag.
|
||||||
|
|
14
gdb/infrun.c
14
gdb/infrun.c
|
@ -2769,20 +2769,6 @@ init_wait_for_inferior (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* This enum encodes possible reasons for doing a target_wait, so that
|
|
||||||
wfi can call target_wait in one place. (Ultimately the call will be
|
|
||||||
moved out of the infinite loop entirely.) */
|
|
||||||
|
|
||||||
enum infwait_states
|
|
||||||
{
|
|
||||||
infwait_normal_state,
|
|
||||||
infwait_step_watch_state,
|
|
||||||
infwait_nonstep_watch_state
|
|
||||||
};
|
|
||||||
|
|
||||||
/* Current inferior wait state. */
|
|
||||||
static enum infwait_states infwait_state;
|
|
||||||
|
|
||||||
/* Data to be passed around while handling an event. This data is
|
/* Data to be passed around while handling an event. This data is
|
||||||
discarded between events. */
|
discarded between events. */
|
||||||
struct execution_control_state
|
struct execution_control_state
|
||||||
|
|
Loading…
Reference in New Issue