git: 8ce6b4f2c48e - main - dtrace: Fix the definition of pc_t

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Wed, 22 Jan 2025 14:41:33 UTC
The branch main has been updated by markj:

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

commit 8ce6b4f2c48eca758fac90b58924f9b2e38fbc49
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-01-22 14:34:29 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-01-22 14:40:50 +0000

    dtrace: Fix the definition of pc_t
    
    This type is used only to store PC values corresponding to a thread
    stack trace, so a pointer type is not quite right.  Switch to
    vm_offset_t, as in struct stack, to simplify a port of DTrace to CHERI.
    
    No functional change intended.
    
    MFC after:      1 week
    Sponsored by:   Innovate UK
---
 sys/cddl/contrib/opensolaris/uts/common/sys/dtrace_impl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace_impl.h b/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace_impl.h
index 45201447024e..cfb97c71f262 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace_impl.h
+++ b/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace_impl.h
@@ -51,7 +51,7 @@ extern "C" {
 #include <sys/file.h>
 
 #ifndef illumos
-typedef uintptr_t		pc_t;
+typedef vm_offset_t		pc_t;
 typedef	u_long			greg_t;
 #endif