git: d289333e8062 - stable/13 - libdtrace: Fix some CPU register number definitions to match the kernel

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Wed, 19 Oct 2022 14:40:32 UTC
The branch stable/13 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=d289333e806280f3e39875146db2d491d4d360d7

commit d289333e806280f3e39875146db2d491d4d360d7
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-10-12 19:59:09 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-10-19 14:15:59 +0000

    libdtrace: Fix some CPU register number definitions to match the kernel
    
    (cherry picked from commit 53a31c87df9f0f77d26a5d35cb8322c8e78033ce)
---
 cddl/lib/libdtrace/regs_x86.d | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cddl/lib/libdtrace/regs_x86.d b/cddl/lib/libdtrace/regs_x86.d
index 3f625f9f4445..4140c133b53e 100644
--- a/cddl/lib/libdtrace/regs_x86.d
+++ b/cddl/lib/libdtrace/regs_x86.d
@@ -80,11 +80,11 @@ inline int R_R0 = R_EAX;
 inline int R_R1 = R_EBX;
 #pragma D binding "1.0" R_R1
 
-inline int R_RSP = 18 + 1 + 20;
+inline int R_RSP = 18 + 1 + 24;
 #pragma D binding "1.0" R_RSP
-inline int R_RFL = 18 + 1 + 19;
+inline int R_RFL = 18 + 1 + 23;
 #pragma D binding "1.0" R_RFL
-inline int R_RIP = 18 + 1 + 17;
+inline int R_RIP = 18 + 1 + 21;
 #pragma D binding "1.0" R_RIP
 inline int R_RAX = 18 + 1 + 14;
 #pragma D binding "1.0" R_RAX