2009-08-21 Hui Zhu <teawater@gmail.com>
authorHui Zhu <teawater@gmail.com>
Fri, 21 Aug 2009 06:16:51 +0000 (06:16 +0000)
committerHui Zhu <teawater@gmail.com>
Fri, 21 Aug 2009 06:16:51 +0000 (06:16 +0000)
* record.c (record_wait): Change the argument of
record_beneath_to_wait to options.

gdb/ChangeLog
gdb/record.c

index de93bc74f83d07e84043bcd95de79b8cafc5f7c5..27935e30a74484c5b67e53dfabab9df76186cffb 100644 (file)
@@ -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.
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)