HomeFreeBSD

Don't panic for PT_GETFPREGS.

Description

Don't panic for PT_GETFPREGS.

Only fetch the VFP state from the CPU if the thread whose registers are
being requested is the current thread. If a stopped thread's registers
are being fetched by a debugger, the saved state in the PCB is already
valid.

Reviewed by: andrew
MFC after: 1 week

Details

Provenance
jhbAuthored on
Reviewer
andrew
Parents
rS322435: Revert r322418, LDBL_MAX_EXP unsuitable for macro pasting on some arches
Branches
Unknown
Tags
Unknown