[PATCH] Fix FreeBSD/amd64 sigtramp recognition

Andrew Cagney ac131313@redhat.com
Fri Sep 12 19:43:00 GMT 2003


> This never worked :-( but does now :-).
> 
> Checked in on mainline.
> 
> Andrew, can I check this in on the branch too?  The FreeBSD/amd64 is a
> new target, so this doesn't fix a regression, but it fixes a genuine
> bug.  And it can't hurt other targets.

Yep.

Andrew

> Index: ChangeLog
> from  Mark Kettenis  <kettenis@gnu.org>
> 
> 	* amd64fbsd-tdep.c: Fix sigtramp recognition.
> 	(amd64fbsd_sigcontext_addr): Rewrite.
> 	(amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end): Initialize
> 	with correct values.
> 	(amd64fbsd_sc_reg_offset): Initialize with correct values.
> 	(amd64fbsd_init_abi): Fix typo.
> 




More information about the Gdb-patches mailing list