From 7fe2aeacc01fa0797a82e2d16ca6ade5139da874 Mon Sep 17 00:00:00 2001 From: midipix Date: Oct 31 2019 23:57:57 +0000 Subject: struct __dbg_event: added the .evtattr and .ctxattr members. --- diff --git a/include/sys/debug.h b/include/sys/debug.h index 0a4cc7e..7f6bb11 100644 --- a/include/sys/debug.h +++ b/include/sys/debug.h @@ -57,6 +57,9 @@ enum __dbg_info { #define __DBG_RESPONSE_TERMINATE_PROCESS (0x40010004) #define __DBG_RESPONSE_TERMINATE_THREAD (0x40010003) +/* debug event attributes */ +#define __DBG_EVENT_ATTR_INTERNAL_BREAKPOINT (0X00000001) + /* thread types */ #define __DBG_THREAD_TYPE_UNKNOWN 0x00 #define __DBG_THREAD_TYPE_PTHREAD 0x01 @@ -116,6 +119,9 @@ struct __dbg_event { uint64_t evtkey; uint64_t evtqpc; + uint32_t evtattr; + uint32_t ctxattr; + pid_t syspid; pid_t systid;