summaryrefslogtreecommitdiff
path: root/gdb/inf-loop.c
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2011-05-30 20:54:24 +0000
committerPedro Alves <pedro@codesourcery.com>2011-05-30 20:54:24 +0000
commit58524558dd13ec7f109c027c99aecbd6b68921c6 (patch)
tree4986496932d81bf625706ad00541ceba9036225c /gdb/inf-loop.c
parentf7f78b5195ad1dbf855f392c099cab7fbc54d5bf (diff)
downloadgdb-58524558dd13ec7f109c027c99aecbd6b68921c6.tar.gz
2011-05-30 Pedro Alves <pedro@codesourcery.com>
gdb/ * target.h (enum inferior_event_type): Delete INF_ERROR. * inf-loop.c (inferior_event_handler): Don't handle INF_ERROR.
Diffstat (limited to 'gdb/inf-loop.c')
-rw-r--r--gdb/inf-loop.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/inf-loop.c b/gdb/inf-loop.c
index 0ab372c784d..8e19eef2995 100644
--- a/gdb/inf-loop.c
+++ b/gdb/inf-loop.c
@@ -51,14 +51,6 @@ inferior_event_handler (enum inferior_event_type event_type,
switch (event_type)
{
- case INF_ERROR:
- printf_unfiltered (_("error detected from target.\n"));
- pop_all_targets_above (file_stratum, 0);
- discard_all_intermediate_continuations ();
- discard_all_continuations ();
- async_enable_stdin ();
- break;
-
case INF_REG_EVENT:
/* Use catch errors for now, until the inner layers of
fetch_inferior_event (i.e. readchar) can return meaningful