2009-08-31 Hui Zhu <teawater@gmail.com>

* record.c (record_resume_siggnal): Deleted.
	(record_resume): Ditto.
	(record_wait): Change record_resume_siggnal to
	TARGET_SIGNAL_0.
This commit is contained in:
Hui Zhu 2009-09-01 03:32:49 +00:00
parent 8d17e044d8
commit 88fef4406f
2 changed files with 8 additions and 3 deletions

View 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>

View 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;
}
}