freebsd-dev/sys/cddl
Mark Johnston 0e69c95915 dtrace: Fix up %rip for invop probes on x86
When a breakpoint exception is raised, the saved value of %rip points to
the instruction following the breakpoint.  However, when fetching the
value of %rip using regs[], it's more natural to provide the address of
the breakpoint itself, so modify the kinst and fbt providers accordingly.

Reported by:	khng
Reviewed by:	christos, khng
MFC after:	2 months
Differential Revision:	https://reviews.freebsd.org/D37218
2022-10-31 19:11:36 -04:00
..
boot/zfs stand/libsa: zfs use standard ZFS_EARLY stuff 2022-07-24 16:53:36 -06:00
compat/opensolaris opensolaris: Delete unused sources 2022-09-29 08:34:29 -04:00
contrib/opensolaris dtrace: Make pid provider work on trivial tests 2022-10-30 16:00:44 -04:00
dev dtrace: Fix up %rip for invop probes on x86 2022-10-31 19:11:36 -04:00