This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Fix infinite recursion in amd64fbsd_sigcontext_addr
- From: sergiodj+buildbot at redhat dot com
- To: gdb-testers at sourceware dot org
- Date: Thu, 26 Feb 2015 09:48:42 -0500
- Subject: [binutils-gdb] Fix infinite recursion in amd64fbsd_sigcontext_addr
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT c5cb74eeb3ea13a9fbeb0ec26b5bad10c4b92e4a ***
Author: John Baldwin <jhb@freebsd.org>
Branch: master
Commit: c5cb74eeb3ea13a9fbeb0ec26b5bad10c4b92e4a
Fix infinite recursion in amd64fbsd_sigcontext_addr
amd64fbsd_sigcontext_addr is using frame_unwind_register_unsigned to
fetch the stack pointer which results in infinite recursion. This
patch changes it to use get_frame_register to match the
sigcontext_addr methods in the i386-bsd and amd64-linux targets
instead.
gdb/ChangeLog:
2015-02-25 John Baldwin <jhb@freebsd.org>
* amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use
get_frame_register instead of frame_unwind_register_unsigned.