[Lldb-commits] [PATCH] Add test for denied process attach by pid and fix found bugs in Process/ProcessPOSIX.cpp

Ed Maste emaste at freebsd.org
Mon Nov 17 13:23:31 PST 2014


Some of my FreeBSD colleagues recommended trigger the failure by trying to attach to a process that already has a debugger attached, as that's the common cause of the failure we're handling here anyway.

Perhaps attach_denied/main.c can fork(), PT_ATTACH to the child, and then return the child's pid for LLDB to try to attach.

http://reviews.llvm.org/D6240






More information about the lldb-commits mailing list