llvm-project/lldb/source/Plugins/Process/POSIX
Greg Clayton e2186ed6d9 Patch from Andrew Kaylor for linux:
The attached patch fixes a problem with performing an attach from the SBTarget API on Linux (and other systems that use ProcessPOSIX).
 
When Process::Attach was called from SBTarget, it resulted in a call to a form of the DoAttachWithID function that wasn't implemented in ProcessPOSIX, and so it fell back to the default implementation (which just returns an error).  It didn't seem necessary to use the attach_info parameter for this case, so I just implemented it as a call to the simpler version of the function.
 
In debugging this problem, I also found that SBTarget wasn't checking the return value from the Attach call, causing it to hang when the attach fails.

llvm-svn: 163399
2012-09-07 17:51:47 +00:00
..
Makefile
POSIXStopInfo.cpp
POSIXStopInfo.h
POSIXThread.cpp Linux fix patch from Dmitry Vyukov. 2012-02-21 18:40:07 +00:00
POSIXThread.h Linux fix patch from Dmitry Vyukov. 2012-02-21 18:40:07 +00:00
ProcessMessage.cpp
ProcessMessage.h
ProcessPOSIX.cpp Patch from Andrew Kaylor for linux: 2012-09-07 17:51:47 +00:00
ProcessPOSIX.h Patch from Andrew Kaylor for linux: 2012-09-07 17:51:47 +00:00
ProcessPOSIXLog.cpp Linux fix patch from Dmitry Vyukov. 2012-02-21 18:40:07 +00:00
ProcessPOSIXLog.h Linux fix patch from Dmitry Vyukov. 2012-02-21 18:40:07 +00:00
RegisterContextPOSIX.h
RegisterContext_i386.cpp rdar://problem/10652076 2012-02-29 01:07:59 +00:00
RegisterContext_i386.h
RegisterContext_x86_64.cpp rdar://problem/10652076 2012-02-29 01:07:59 +00:00
RegisterContext_x86_64.h