From: Pedro Alves Date: Wed, 9 Sep 2015 17:23:25 +0000 (+0100) Subject: Delete enum inferior_event_handler::INF_TIMER X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cfe7570334fc9aefc64bdb0791fec03a736f2851;p=binutils-gdb.git Delete enum inferior_event_handler::INF_TIMER Nothing ever uses this. gdb/ChangeLog: 2015-09-09 Pedro Alves * inf-loop.c (inferior_event_handler): Delete INF_TIMER case. * target.h (enum inferior_event_type) : Delete. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 380ff651fb8..85d8bc20ebe 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-09-09 Pedro Alves + + * inf-loop.c (inferior_event_handler): Delete INF_TIMER case. + * target.h (enum inferior_event_type) : Delete. + 2015-09-09 Pedro Alves * continuations.c (add_continuation, restore_thread_cleanup) diff --git a/gdb/inf-loop.c b/gdb/inf-loop.c index 8aecfe6af50..aac936f374b 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 597a619c0f3..da18f99974a 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, };