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.
This commit is contained in:
Pedro Alves 2015-09-09 18:23:25 +01:00
parent a85a307923
commit cfe7570334
3 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,8 @@
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)

View File

@ -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;

View File

@ -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,
};