From cd305f19d57035e60b6b22be0edab31af73b7195 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 7 Sep 2019 20:12:40 +0000 Subject: nt32/nt64: debug interfaces: added __dbg_vm_read(), __dbg_vm_write(). --- include/sys/debug.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/sys/debug.h b/include/sys/debug.h index 4f1929f..b207363 100644 --- a/include/sys/debug.h +++ b/include/sys/debug.h @@ -157,6 +157,10 @@ int __dbg_rbreak(int); int __dbg_tbreak(int); int __dbg_lbreak(int); +/* virtual memory */ +ssize_t __dbg_vm_read(int, void *, size_t, uintptr_t); +ssize_t __dbg_vm_write(int, const void *, size_t, uintptr_t); + /* suspend/resume thread; return previous suspend count (negative for an error) */ int __dbg_suspend_thread(int, pid_t); int __dbg_resume_thread(int, pid_t); -- cgit v1.2.3