aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2014-11-12 11:02:11 +0000
committerPedro Alves <palves@redhat.com>2014-11-12 11:02:11 +0000
commit6218dc4bdb198bc4982516ba0b8a6714c9123a8f (patch)
tree634b0fbe3cb4f74b495417162b271946f218c36e /gdb/infrun.c
parentaf48d08f97fa678571a42be35a8a77b61e36d7d7 (diff)
downloadgdb-6218dc4bdb198bc4982516ba0b8a6714c9123a8f.zip
gdb-6218dc4bdb198bc4982516ba0b8a6714c9123a8f.tar.gz
gdb-6218dc4bdb198bc4982516ba0b8a6714c9123a8f.tar.bz2
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.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 0dcc141..7e59f55 100644
--- a/gdb/infrun.c
+++ b/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
discarded between events. */
struct execution_control_state