aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-03-14 08:01:28 +0000
committerPedro Alves <palves@redhat.com>2008-03-14 08:01:28 +0000
commit0aca9f07fab431ae87a9766241d4a15b22e56ed7 (patch)
tree0cb2c3f7d4c3e33598ab76d74d8cd5fac171e2a7 /gdb
parent0b4e556cc755b45b35d5a50e905bebc707246d19 (diff)
downloadfsf-binutils-gdb-0aca9f07fab431ae87a9766241d4a15b22e56ed7.zip
fsf-binutils-gdb-0aca9f07fab431ae87a9766241d4a15b22e56ed7.tar.gz
fsf-binutils-gdb-0aca9f07fab431ae87a9766241d4a15b22e56ed7.tar.bz2
* 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')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/inf-loop.c8
2 files changed, 8 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3f7b0a8..ffa3909 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
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
commands in async mode.
diff --git a/gdb/inf-loop.c b/gdb/inf-loop.c
index b6f8bb8..5c49177 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: