summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-09-14 20:14:54 +0000
committermidipix <writeonce@midipix.org>2019-09-14 20:14:54 +0000
commitf8168415ec6b7c3c46661790900fff72eab7b674 (patch)
tree967126db323dae76608adeb5085ab05d04b6e011
parent70e4b11f6a1cd6ec9432220bdfc3d3dfa2d48305 (diff)
downloadmmglue-f8168415ec6b7c3c46661790900fff72eab7b674.tar.bz2
mmglue-f8168415ec6b7c3c46661790900fff72eab7b674.tar.xz
nt32/nt64: debug interfaces: defined struct __dbg_module_info.
-rw-r--r--include/sys/debug.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/sys/debug.h b/include/sys/debug.h
index edeb294..fa285bf 100644
--- a/include/sys/debug.h
+++ b/include/sys/debug.h
@@ -163,6 +163,21 @@ struct __dbg_event {
const char * image_dpath;
};
+/* debug loaded module alpha definition */
+struct __dbg_module_info {
+ void * module_base;
+ void * module_record;
+
+ char * module_name;
+ void * module_ctx;
+
+ int module_key;
+ uint32_t module_flags;
+
+ uint64_t module_qpc;
+ uint64_t module_reserved;
+};
+
/* pid (or syspid) --> debug file descriptor */
int __dbg_attach(pid_t);
int __dbg_detach(int);