aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-07-19 17:53:00 +0000
committerPedro Alves <palves@redhat.com>2012-07-19 17:53:00 +0000
commit90f47860e1849087fb8233186cdee3a34740b9d9 (patch)
treee3b532675a8f19624fd804fe9d02e3b4fe24e101
parentb7aefa4d2e50047a085e6d58cd9ee45e5e90d2ef (diff)
downloadgdb-90f47860e1849087fb8233186cdee3a34740b9d9.zip
gdb-90f47860e1849087fb8233186cdee3a34740b9d9.tar.gz
gdb-90f47860e1849087fb8233186cdee3a34740b9d9.tar.bz2
2012-07-19 Pedro Alves <palves@redhat.com>
* record.c (record_resume): Ask the target beneath to report all signals.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/record.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0032aac..60810d1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2012-07-19 Pedro Alves <palves@redhat.com>
+
+ * record.c (record_resume): Ask the target beneath to report all
+ signals.
+
2012-07-19 Doug Evans <dje@google.com>
* dwarf2read.c (dwarf2_ranges_read): Ignore ranges starting at zero if
diff --git a/gdb/record.c b/gdb/record.c
index ec42aac..e1a6121 100644
--- a/gdb/record.c
+++ b/gdb/record.c
@@ -1104,6 +1104,9 @@ record_resume (struct target_ops *ops, ptid_t ptid, int step,
}
}
+ /* Make sure the target beneath reports all signals. */
+ target_pass_signals (0, NULL);
+
record_beneath_to_resume (record_beneath_to_resume_ops,
ptid, step, signal);
}