* arm-tdep.c (arm_in_function_epilogue_p): Fix code when "MOV SP"
authorPierre Muller <muller@sourceware.org>
Thu, 18 Nov 2010 16:38:20 +0000 (16:38 +0000)
committerPierre Muller <muller@sourceware.org>
Thu, 18 Nov 2010 16:38:20 +0000 (16:38 +0000)
instruction is found.

gdb/ChangeLog
gdb/arm-tdep.c

index 2e3144ae494f2fbee3cfc99323a772e9fa84bed2..526c182861373edb39938cb85494190ec79dbff9 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-18  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * arm-tdep.c (arm_in_function_epilogue_p): Fix code when "MOV SP"
+       instruction is found.
+
 2010-11-17  Tom Tromey  <tromey@redhat.com>
 
        * value.c (value_entirely_optimized_out): Check the
index 7c24d306e2d6d3792612cc42f35fb6cee5930af3..636c1de3bbc1bcec3e9d1a4e6357187dd6a56b75 100644 (file)
@@ -2245,7 +2245,7 @@ arm_in_function_epilogue_p (struct gdbarch *gdbarch, CORE_ADDR pc)
        found_stack_adjust = 1;
       else if ((insn & 0x0ffffff0) == 0x01a0d000)
        /* MOV SP.  */
-       found_return = 1;
+       found_stack_adjust = 1;
       else if ((insn & 0x0fff0000) == 0x08bd0000)
        /* POP (LDMIA).  */
        found_stack_adjust = 1;
This page took 0.032692 seconds and 4 git commands to generate.