aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2009-08-21 06:16:51 +0000
committerHui Zhu <teawater@gmail.com>2009-08-21 06:16:51 +0000
commit90092760f359c6438a856a0d001e254c80e7b5c1 (patch)
tree4a9fc8a1d16ed5f1d639e2c5eb2c6e1b3a10e7b9
parent4493bff9507248e4b5812ddd3ddbce8bbb426955 (diff)
downloadgdb-90092760f359c6438a856a0d001e254c80e7b5c1.zip
gdb-90092760f359c6438a856a0d001e254c80e7b5c1.tar.gz
gdb-90092760f359c6438a856a0d001e254c80e7b5c1.tar.bz2
2009-08-21 Hui Zhu <teawater@gmail.com>
* record.c (record_wait): Change the argument of record_beneath_to_wait to options.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/record.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index de93bc7..27935e3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-21 Hui Zhu <teawater@gmail.com>
+
+ * record.c (record_wait): Change the argument of
+ record_beneath_to_wait to options.
+
2009-08-20 Jacob Potter <jdpotter@google.com>
Replace dcache with splay tree.
diff --git a/gdb/record.c b/gdb/record.c
index 43737af..8afca6b 100644
--- a/gdb/record.c
+++ b/gdb/record.c
@@ -598,7 +598,7 @@ record_wait (struct target_ops *ops,
{
/* This is a single step. */
return record_beneath_to_wait (record_beneath_to_wait_ops,
- ptid, status, 0);
+ ptid, status, options);
}
else
{
@@ -609,7 +609,7 @@ record_wait (struct target_ops *ops,
while (1)
{
ret = record_beneath_to_wait (record_beneath_to_wait_ops,
- ptid, status, 0);
+ ptid, status, options);
if (status->kind == TARGET_WAITKIND_STOPPED
&& status->value.sig == TARGET_SIGNAL_TRAP)