* inf-loop.c (inferior_event_handler): Don't include remote.h.

Call target_stop in the INF_QUIT_REQ case.
	* Makefile.in (inf-loop.o): Update.
This commit is contained in:
Pedro Alves 2008-03-14 08:01:28 +00:00
parent 0b4e556cc7
commit 0aca9f07fa
2 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2008-03-14 Pedro Alves <pedro@codesourcery.com>
* inf-loop.c (inferior_event_handler): Don't include remote.h.
Call target_stop in the INF_QUIT_REQ case.
* Makefile.in (inf-loop.o): Update.
2008-03-14 Pedro Alves <pedro@codesourcery.com>
* top.c (execute_command): Enable break, info and interrupt

View File

@ -23,7 +23,6 @@
#include "event-loop.h"
#include "event-top.h"
#include "inf-loop.h"
#include "remote.h"
#include "exceptions.h"
static int fetch_inferior_event_wrapper (gdb_client_data client_data);
@ -83,11 +82,8 @@ inferior_event_handler (enum inferior_event_type event_type,
do_all_intermediate_continuations ();
break;
case INF_QUIT_REQ:
/* FIXME: ezannoni 1999-10-04. This call should really be a
target vector entry, so that it can be used for any kind of
targets. */
async_remote_interrupt_twice (NULL);
case INF_QUIT_REQ:
target_stop ();
break;
case INF_TIMER: