aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2009-08-08 01:57:44 +0000
committerHui Zhu <teawater@gmail.com>2009-08-08 01:57:44 +0000
commit280d8011ec92fbadcb7f826d3d12eb2e6db99a92 (patch)
treeb9719ead03c48c857742997bf9285aa394e574a4
parente7e75368a39c3fb6848cfef55b8fccdd732fdf8a (diff)
downloadgdb-280d8011ec92fbadcb7f826d3d12eb2e6db99a92.zip
gdb-280d8011ec92fbadcb7f826d3d12eb2e6db99a92.tar.gz
gdb-280d8011ec92fbadcb7f826d3d12eb2e6db99a92.tar.bz2
2009-08-08 Aleksandar Ristovski <aristovski@qnx.com>
Hui Zhu <teawater@gmail.com> * record.c (record_store_registers): Remove unused variable.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/record.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c19632f..d71be0f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-08 Aleksandar Ristovski <aristovski@qnx.com>
+ Hui Zhu <teawater@gmail.com>
+
+ * record.c (record_store_registers): Remove unused variable.
+
2009-08-07 Tom Tromey <tromey@redhat.com>
* language.c (set_language_command): Strip whitespace.
diff --git a/gdb/record.c b/gdb/record.c
index e5b8a37..43737af 100644
--- a/gdb/record.c
+++ b/gdb/record.c
@@ -959,7 +959,6 @@ record_store_registers (struct target_ops *ops, struct regcache *regcache,
if (RECORD_IS_REPLAY)
{
int n;
- struct cleanup *old_cleanups;
/* Let user choose if he wants to write register or not. */
if (regno < 0)