From: Doug Evans Date: Thu, 4 Mar 2010 19:00:19 +0000 (+0000) Subject: * arm-tdep.c (arm_make_stub_cache): Delete unused locals reg, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=111f853cd1df95703d0aec63aa57cbb012aee12e;p=binutils-gdb.git * arm-tdep.c (arm_make_stub_cache): Delete unused locals reg, unwound_fp. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dcd3a5aa70c..a44b03afce6 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 353bc487f37..c28fd04fc35 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);