summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2012-04-13 16:37:50 +0000
committerkettenis <kettenis@openbsd.org>2012-04-13 16:37:50 +0000
commit4ec195400d023537d947ee6557938900b7cc7161 (patch)
treeae5a44c0389aa411ffbe8060c039ba000dad12a8 /lib/libc/stdlib
parentDon't try to mmap a 0-length file. (diff)
downloadwireguard-openbsd-4ec195400d023537d947ee6557938900b7cc7161.tar.xz
wireguard-openbsd-4ec195400d023537d947ee6557938900b7cc7161.zip
First stab at making ptrace(2) usable for debugging multi-threaded programs.
It implements a full-stop model where all threads are stopped before handing over control to the debugger. Events are reported as before through wait(2); you will have to call ptrace(PT_GET_PROCESS_STATE, ...) to find out which thread hit the event. Since this changes the size of struct ptrace_state, you will have to recompile gdb. ok guenther@
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions