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.
Details
Details
- Reviewers
emaste markj gnn - Commits
- rS348705: dtrace: 64-bits registers support
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/cddl/dev/dtrace/amd64/dtrace_isa.c | ||
---|---|---|
519 ↗ | (On Diff #57718) | I wouldn't bother with the comment in such a small block. |