This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] [ARM] minor opt in thumb_stack_frame_destroyed_p
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Fri, 15 Apr 2016 10:55:28 -0400
- Subject: [binutils-gdb] [ARM] minor opt in thumb_stack_frame_destroyed_p
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 415fa612334afb70600c2a7dbd2c2ff56ebbc4f3 ***
Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 415fa612334afb70600c2a7dbd2c2ff56ebbc4f3
[ARM] minor opt in thumb_stack_frame_destroyed_p
thumb_stack_frame_destroyed_p scans the instructions from PC to the
end of the function, but if PC is far from the end of pc, we don't
have to scan, because PC should be in epilogue if it is still
far from the end of the function. The criterion I use here is 16
bytes, which is more than 4 instructions.
Regression tested on aarch64-linux with mutli-arch debug.
gdb:
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.