waitpid
loses PTRACE_EVENT
stop info from status
#434
Labels
waitpid
loses PTRACE_EVENT
stop info from status
#434
The
ptrace(2)
docs say:Currently
waitpid
decodes the signal withstatus::stop_signal
, but loses this info. MaybeWaitStatus::Stopped
could have an extraOption<PtraceEvent>
field, wherePtraceEvent
could be an enum for thePTRACE_EVENT_*
values?I did some cursory investigation on how
ptrace
works on non-Linux platforms and couldn't find any equivalent usage here, so I guess this wouldn't be relevant elsewhere. I don't know what the convention is for situations like this--would we just have a unitPtraceEvent
struct there?The text was updated successfully, but these errors were encountered: