[Lldb-commits] [PATCH] Fix process attach and detach for Windows

Adrian McCarthy amccarth at google.com
Thu Jun 11 16:38:19 PDT 2015


Hi zturner, chaoren,

When attaching to a process, an extra step is needed to get the executable module loaded.  This makes it possible to set breakpoints.

Detaching has to happen from the debugger thread, so there are some flags and a forced breakpoint exception to trigger that.

More work is needed on the tests (TestAttachResume.py, lldbtest.py, etc.) to get them to pass completely, but I'm separating that work from this patch.

http://reviews.llvm.org/D10404

Files:
  source/Plugins/Process/Windows/DebuggerThread.cpp
  source/Plugins/Process/Windows/DebuggerThread.h
  source/Plugins/Process/Windows/ProcessWindows.cpp
  source/Plugins/Process/Windows/ProcessWindows.h

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10404.27555.patch
Type: text/x-patch
Size: 7628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150611/bc2964ef/attachment.bin>


More information about the lldb-commits mailing list