summaryrefslogtreecommitdiff
path: root/gdb/inf-loop.c
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2008-03-14 08:01:28 +0000
committerPedro Alves <pedro@codesourcery.com>2008-03-14 08:01:28 +0000
commitc91ae6d6a25db195f6ca5830d73be1c954213985 (patch)
treebc2391f37da4d9a31378552498afa7ac5544de59 /gdb/inf-loop.c
parente96179a8aa7fb498487cfcfa6723943df094d4d2 (diff)
downloadgdb-c91ae6d6a25db195f6ca5830d73be1c954213985.tar.gz
* 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.
Diffstat (limited to 'gdb/inf-loop.c')
-rw-r--r--gdb/inf-loop.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/inf-loop.c b/gdb/inf-loop.c
index b6f8bb8d728..5c49177cd83 100644
--- a/gdb/inf-loop.c
+++ b/gdb/inf-loop.c
@@ -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: