diff options
author | Pedro Alves <palves@redhat.com> | 2015-09-09 18:23:25 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-09-09 18:25:55 +0100 |
commit | cfe7570334fc9aefc64bdb0791fec03a736f2851 (patch) | |
tree | d39741ecc834b808dfd796582476c769706bcc90 /gdb | |
parent | a85a3079233ddf4c5537ec90c03d3394b93ef355 (diff) | |
download | gdb-cfe7570334fc9aefc64bdb0791fec03a736f2851.zip gdb-cfe7570334fc9aefc64bdb0791fec03a736f2851.tar.gz gdb-cfe7570334fc9aefc64bdb0791fec03a736f2851.tar.bz2 |
Delete enum inferior_event_handler::INF_TIMER
Nothing ever uses this.
gdb/ChangeLog:
2015-09-09 Pedro Alves <palves@redhat.com>
* inf-loop.c (inferior_event_handler): Delete INF_TIMER case.
* target.h (enum inferior_event_type) <INF_TIMER>: Delete.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/inf-loop.c | 1 | ||||
-rw-r--r-- | gdb/target.h | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 380ff65..85d8bc2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2015-09-09 Pedro Alves <palves@redhat.com> + * inf-loop.c (inferior_event_handler): Delete INF_TIMER case. + * target.h (enum inferior_event_type) <INF_TIMER>: Delete. + +2015-09-09 Pedro Alves <palves@redhat.com> + * continuations.c (add_continuation, restore_thread_cleanup) (do_all_continuations_ptid, do_all_continuations_thread_callback) (do_all_continuations_thread, do_all_continuations) diff --git a/gdb/inf-loop.c b/gdb/inf-loop.c index 8aecfe6..aac936f 100644 --- a/gdb/inf-loop.c +++ b/gdb/inf-loop.c @@ -80,7 +80,6 @@ inferior_event_handler (enum inferior_event_type event_type, } break; - case INF_TIMER: default: printf_unfiltered (_("Event type not recognized.\n")); break; diff --git a/gdb/target.h b/gdb/target.h index 597a619..da18f99 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -122,8 +122,6 @@ enum inferior_event_type /* Process a normal inferior event which will result in target_wait being called. */ INF_REG_EVENT, - /* We are called because a timer went off. */ - INF_TIMER, /* We are called to do stuff after the inferior stops. */ INF_EXEC_COMPLETE, }; |