]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[PPC64] Fix GDB sigtramp detection
authorluporl <luporl@FreeBSD.org>
Fri, 1 Nov 2019 11:28:43 +0000 (11:28 +0000)
committerluporl <luporl@FreeBSD.org>
Fri, 1 Nov 2019 11:28:43 +0000 (11:28 +0000)
commitf120bf6b5a011d4c78de87fe72b023f4dd63bca4
tree0341b55fdfd9f7bb46547ffc67426394401e33c0
parent3be5a3845fbf2a1745b5b2ed02abd76d4108b5f9
[PPC64] Fix GDB sigtramp detection

Current implementation of ppcfbsd_pc_in_sigtramp() seems to take only 32-bit
PowerPC in account, as on 64-bit PowerPC most kernel instruction addresses will
be wrongly reported as in sigtramp.

This change adds proper sigtramp detection for PPC64.

Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D22199
contrib/gdb/gdb/ppcfbsd-tdep.c