diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-04-18 08:50:09 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-04-18 08:50:09 +0100 |
commit | 5947319ef398728052a22575e1d0de0e94e4220f (patch) | |
tree | f22cd22b56b2d6480a32d1b920a99d0c3718e7dd /gdb/arm-tdep.c | |
parent | 5c3c7aa89ba10ac923796855f5c97098fbfdb4be (diff) | |
download | gdb-5947319ef398728052a22575e1d0de0e94e4220f.zip gdb-5947319ef398728052a22575e1d0de0e94e4220f.tar.gz gdb-5947319ef398728052a22575e1d0de0e94e4220f.tar.bz2 |
Revert 415fa612
2016-04-18 Yao Qi <yao.qi@linaro.org>
Revert:
2016-04-15 Yao Qi <yao.qi@linaro.org>
* arm-tdep.c (thumb_stack_frame_destroyed_p): Return zero if
PC is far from the end of function.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 36b0bcd..0412f71 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -3135,14 +3135,6 @@ thumb_stack_frame_destroyed_p (struct gdbarch *gdbarch, CORE_ADDR pc) if (!find_pc_partial_function (pc, NULL, &func_start, &func_end)) return 0; - if (func_end - pc > 4 * 4) - { - /* There shouldn't be more than four instructions in epilogue. - If PC is still 16 bytes away from FUNC_END, it isn't in - epilogue. */ - return 0; - } - /* The epilogue is a sequence of instructions along the following lines: - add stack frame size to SP or FP |