diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dcd3a5aa70..a44b03afce 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -12,6 +12,9 @@ 2010-03-04 Doug Evans + * 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 diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 353bc487f3..c28fd04fc3 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);