aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2009-09-01 03:32:49 +0000
committerHui Zhu <teawater@gmail.com>2009-09-01 03:32:49 +0000
commit88fef4406f2bbf0a607ab4b9ca8e0168388797bd (patch)
treef6324efa690f56450aff2a51cb17ec0090090469 /gdb
parent8d17e044d8743a01ad2d3348e9c737cd843d80bf (diff)
downloadgdb-88fef4406f2bbf0a607ab4b9ca8e0168388797bd.zip
gdb-88fef4406f2bbf0a607ab4b9ca8e0168388797bd.tar.gz
gdb-88fef4406f2bbf0a607ab4b9ca8e0168388797bd.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/record.c4
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 19c4151..dec56b8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
diff --git a/gdb/record.c b/gdb/record.c
index 2698395..650f2a1 100644
--- a/gdb/record.c
+++ b/gdb/record.c
@@ -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;
}
}