aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-10-26 18:47:33 +0000
committerPedro Alves <palves@redhat.com>2012-10-26 18:47:33 +0000
commit47b1906506da6096ba01fcc66f712d89feb312c9 (patch)
treec87da8a5410c6a6b23dba888f0f741c3bd9dc22b
parentaf4238e5f64f0f117f674120b91cc689a2dde78f (diff)
downloadgdb-47b1906506da6096ba01fcc66f712d89feb312c9.zip
gdb-47b1906506da6096ba01fcc66f712d89feb312c9.tar.gz
gdb-47b1906506da6096ba01fcc66f712d89feb312c9.tar.bz2
2012-10-26 Pedro Alves <palves@redhat.com>
* infrun.c (handle_inferior_event) <TARGET_WAITKIND_SIGNALLED>: Remove comment.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infrun.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8adfc7c..e717353 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2012-10-26 Pedro Alves <palves@redhat.com>
+ * infrun.c (handle_inferior_event) <TARGET_WAITKIND_SIGNALLED>:
+ Remove comment.
+
+2012-10-26 Pedro Alves <palves@redhat.com>
+
* target.c (target_waitstatus_to_string): Handle
TARGET_WAITKIND_VFORK_DONE.
diff --git a/gdb/infrun.c b/gdb/infrun.c
index eb97c52..5479486 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -3406,11 +3406,6 @@ handle_inferior_event (struct execution_control_state *ecs)
stop_print_frame = 0;
target_terminal_ours (); /* Must do this before mourn anyway. */
- /* Note: By definition of TARGET_WAITKIND_SIGNALLED, we shouldn't
- reach here unless the inferior is dead. However, for years
- target_kill() was called here, which hints that fatal signals aren't
- really fatal on some systems. If that's true, then some changes
- may be needed. */
target_mourn_inferior ();
print_signal_exited_reason (ecs->ws.value.sig);