summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-10-31 23:57:57 +0000
committermidipix <writeonce@midipix.org>2019-10-31 23:57:57 +0000
commit7fe2aeacc01fa0797a82e2d16ca6ade5139da874 (patch)
treee40aaf833bde5be6d2a6897937d2a525bf4e0f7a /include
parent53dead0b95ba66ffdc3a97b54539e71b7ab0fbad (diff)
downloadmmglue-7fe2aeacc01fa0797a82e2d16ca6ade5139da874.tar.bz2
mmglue-7fe2aeacc01fa0797a82e2d16ca6ade5139da874.tar.xz
struct __dbg_event: added the .evtattr and .ctxattr members.
Diffstat (limited to 'include')
-rw-r--r--include/sys/debug.h6
1 files changed, 6 insertions, 0 deletions
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;