2009-08-31 Hui Zhu <teawater@gmail.com>
authorHui Zhu <teawater@gmail.com>
Tue, 1 Sep 2009 03:32:49 +0000 (03:32 +0000)
committerHui Zhu <teawater@gmail.com>
Tue, 1 Sep 2009 03:32:49 +0000 (03:32 +0000)
* record.c (record_resume_siggnal): Deleted.
(record_resume): Ditto.
(record_wait): Change record_resume_siggnal to
TARGET_SIGNAL_0.

gdb/ChangeLog
gdb/record.c

index 19c41517f2a7f7397ee4e56b3f4585bcd2ea6784..dec56b8f64bd58f0a307aa4a7b174fdd564d5c4a 100644 (file)
@@ -1,3 +1,10 @@
+2009-09-01  Hui Zhu  <teawater@gmail.com>
+
+       * record.c (record_resume_siggnal): Deleted.
+       (record_resume): Ditto.
+       (record_wait): Change record_resume_siggnal to
+       TARGET_SIGNAL_0.
+
 2009-08-31  Jacob Potter  <jdpotter@google.com>
            Doug Evans  <dje@google.com>
 
index 26983953a9a5b0de72e119dfb0109f2cec2d53a2..650f2a1399e3a75981d9ec66abc1312e4765c959 100644 (file)
@@ -514,7 +514,6 @@ record_close (int quitting)
 }
 
 static int record_resume_step = 0;
-static enum target_signal record_resume_siggnal;
 static int record_resume_error;
 
 static void
@@ -522,7 +521,6 @@ record_resume (struct target_ops *ops, ptid_t ptid, int step,
                enum target_signal siggnal)
 {
   record_resume_step = step;
-  record_resume_siggnal = siggnal;
 
   if (!RECORD_IS_REPLAY)
     {
@@ -638,7 +636,7 @@ record_wait (struct target_ops *ops,
                        }
                      record_beneath_to_resume (record_beneath_to_resume_ops,
                                                ptid, 1,
-                                               record_resume_siggnal);
+                                               TARGET_SIGNAL_0);
                      continue;
                    }
                }