This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch][libgcc] FreeBSD amd64 unwind fix


Hi all,

The attached patch fixes the PR 82635. I tested it on all active branches including the gcc-6 branch where we make extensive use of this MD_FALLBACK_FRAME_STATE_FOR macro. Namely in the libjava test suite. (Found no other suitable tests which do make use of this macro).
No regressions.

If there are no objections, I'm going to commit the patch below to all active branches in the next days.

Thanks,
Andreas

2017-11-02  Andreas Tobler  <andreast@gcc.gnu.org>

	PR libgcc/82635
	* config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
	sysctl to determine whether we're in a trampoline.
	Keep the pattern matching method for systems without
	KERN_PROC_SIGTRAMP sysctl.

Attachment: libgcc-fbsd-unwind.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]