summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-10-26 18:47:32 +0000
committerPedro Alves <palves@redhat.com>2012-10-26 18:47:32 +0000
commit5e448a3dd1172ef068256dbccad2574af8d5b666 (patch)
tree5693c02a22ae6c17a56d2d0b09cae9a8f93f1efa
parentdb30399c292e757197085593dc19bce31864c4b4 (diff)
downloadgdb-5e448a3dd1172ef068256dbccad2574af8d5b666.tar.gz
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 8adfc7c6e8e..e717353f996 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 eb97c52b7b6..54794867260 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);