HomeFreeBSD

dtrace: 64-bits registers support

Description

dtrace: 64-bits registers support

The registers in ilumos and FreeBSD have a different number.
In the illumos, last 32-bits register defined is SS an in FreeBSD is GS.
This off-by-one caused the uregs array to returns the wrong 64-bits register
on amd64.

Reviewed by: markj
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D20363

Details

Provenance
oshogboAuthored on
Reviewer
markj
Differential Revision
D20363: DTrace: fix reading a 64-bits register on amd64
Parents
rS348704: MFC r348491:
Branches
Unknown
Tags
Unknown