* arm-tdep.c (arm_make_stub_cache): Delete unused locals reg,
authorDoug Evans <dje@google.com>
Thu, 4 Mar 2010 19:00:19 +0000 (19:00 +0000)
committerDoug Evans <dje@google.com>
Thu, 4 Mar 2010 19:00:19 +0000 (19:00 +0000)
unwound_fp.

gdb/ChangeLog
gdb/arm-tdep.c

index dcd3a5aa70cfd43b2de49b70e0d6043a0ef8c940..a44b03afce6c4a92a16f80cba1a3b52c236dfdbb 100644 (file)
@@ -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>
index 353bc487f373e826e0d9ba8909eed72a658a4c80..c28fd04fc3564f2607fb4e29de9fd904e062b133 100644 (file)
@@ -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);