]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/record.c
2009-08-21 Hui Zhu <teawater@gmail.com>
[thirdparty/binutils-gdb.git] / gdb / record.c
index 43737af9b2c8cd476fe530ee077f610d9bb72b22..8afca6bcf7521c5479bb4e1bbcaa447ed725999c 100644 (file)
@@ -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)