aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-05-30 20:54:24 +0000
committerPedro Alves <palves@redhat.com>2011-05-30 20:54:24 +0000
commit395bff701ec76a411bdee2955f381b2ac33b93f7 (patch)
treebe0a5a13103244e58fe3f7f3c29ac3ad59ccc3b3 /gdb
parent97224164280b77cd733d5aada6f52ccfdadb1c6e (diff)
downloadgdb-395bff701ec76a411bdee2955f381b2ac33b93f7.zip
gdb-395bff701ec76a411bdee2955f381b2ac33b93f7.tar.gz
gdb-395bff701ec76a411bdee2955f381b2ac33b93f7.tar.bz2
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')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/inf-loop.c8
-rw-r--r--gdb/target.h2
3 files changed, 5 insertions, 10 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1d02f56..1a7c89d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2011-05-30 Pedro Alves <pedro@codesourcery.com>
+ * target.h (enum inferior_event_type): Delete INF_ERROR.
+ * inf-loop.c (inferior_event_handler): Don't handle INF_ERROR.
+
+2011-05-30 Pedro Alves <pedro@codesourcery.com>
+
* interps.c (interp_set): Don't cancel continuations.
2011-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
diff --git a/gdb/inf-loop.c b/gdb/inf-loop.c
index 0ab372c..8e19eef 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
diff --git a/gdb/target.h b/gdb/target.h
index 21e1450..1c7fcd2 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -206,8 +206,6 @@ enum inferior_event_type
/* Process a normal inferior event which will result in target_wait
being called. */
INF_REG_EVENT,
- /* Deal with an error on the inferior. */
- INF_ERROR,
/* We are called because a timer went off. */
INF_TIMER,
/* We are called to do stuff after the inferior stops. */