aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-03-04 19:00:19 +0000
committerDoug Evans <dje@google.com>2010-03-04 19:00:19 +0000
commit111f853cd1df95703d0aec63aa57cbb012aee12e (patch)
treef77056832652ba7e6e5e40212f9f887532a0e30f
parent0e0b460e6a59a5e2cd5370d0094eaaf7320129a2 (diff)
downloadgdb-111f853cd1df95703d0aec63aa57cbb012aee12e.zip
gdb-111f853cd1df95703d0aec63aa57cbb012aee12e.tar.gz
gdb-111f853cd1df95703d0aec63aa57cbb012aee12e.tar.bz2
* arm-tdep.c (arm_make_stub_cache): Delete unused locals reg,
unwound_fp.
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/arm-tdep.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index dcd3a5a..a44b03a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -12,6 +12,9 @@
2010-03-04 Doug Evans <dje@google.com>
+ * arm-tdep.c (arm_make_stub_cache): Delete unused locals reg,
+ unwound_fp.
+
* arm-tdep.c (arm_stub_unwind_sniffer): Add comment.
2010-03-04 Pedro Alves <pedro@codesourcery.com>
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 353bc48..c28fd04 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -1198,9 +1198,7 @@ struct frame_unwind arm_prologue_unwind = {
static struct arm_prologue_cache *
arm_make_stub_cache (struct frame_info *this_frame)
{
- int reg;
struct arm_prologue_cache *cache;
- CORE_ADDR unwound_fp;
cache = FRAME_OBSTACK_ZALLOC (struct arm_prologue_cache);
cache->saved_regs = trad_frame_alloc_saved_regs (this_frame);