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
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 24407 Build 23223: arc lint + arc unit
Event Timeline
sys/cddl/dev/dtrace/amd64/dtrace_isa.c | ||
---|---|---|
519 | I wouldn't bother with the comment in such a small block. |