diff options
author | 2012-04-13 16:37:50 +0000 | |
---|---|---|
committer | 2012-04-13 16:37:50 +0000 | |
commit | 4ec195400d023537d947ee6557938900b7cc7161 (patch) | |
tree | ae5a44c0389aa411ffbe8060c039ba000dad12a8 /lib/libc/stdlib/bsearch.3 | |
parent | Don't try to mmap a 0-length file. (diff) | |
download | wireguard-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/bsearch.3')
0 files changed, 0 insertions, 0 deletions