HomeFreeBSD

Don't use a non-zero argument for __builtin_frame_address

Description

Don't use a non-zero argument for __builtin_frame_address

__builtin_frame_address with a non-zero argument is unsafe and rejected by
newer gcc. Since it doesn't seem to impact the stacktrace, don't bother
with gymnastics to unwind to a different frame for starting.

PR: kern/220118
MFC after: 2 weeks

Details

Provenance
jhibbitsAuthored on
Parents
rS323686: Fix use of wrong (and unitialized) variable
Branches
Unknown
Tags
Unknown