From 111f853cd1df95703d0aec63aa57cbb012aee12e Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 4 Mar 2010 19:00:19 +0000 Subject: [PATCH] * arm-tdep.c (arm_make_stub_cache): Delete unused locals reg, unwound_fp. --- gdb/ChangeLog | 3 +++ gdb/arm-tdep.c | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) 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); -- 2.30.2