prec-fix-record_wait_options.txt
2009-08-21 Hui Zhu <teawater@gmail.com>
* record.c (record_wait): Change the argument of
record_beneath_to_wait to options.
---
record.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/record.c
+++ b/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)