[Lldb-commits] [PATCH] D11611: Create a Windows mini-dump target

Adrian McCarthy amccarth at google.com
Wed Jul 29 15:15:10 PDT 2015


amccarth created this revision.
amccarth added a reviewer: zturner.
amccarth added a subscriber: lldb-commits.

This is the first (of many) steps to add support for Windows mini dumps as targets.

Like loading an ELF core file, this patch allows lldb to open a mini dump with a command like this:

  (lldb) target create -c foo.dmp

All you can do now is see the thread list.  I'm planning to add functionality in bite-sized chunks.

I'm still thinking about how to write tests for this functionality.  I haven't found any ELF core tests to pattern after.  If you have suggestions, let me know.

http://reviews.llvm.org/D11611

Files:
  cmake/LLDBDependencies.cmake
  source/API/SystemInitializerFull.cpp
  source/Plugins/Process/CMakeLists.txt
  source/Plugins/Process/win-minidump/CMakeLists.txt
  source/Plugins/Process/win-minidump/Makefile
  source/Plugins/Process/win-minidump/ProcessWinMiniDump.cpp
  source/Plugins/Process/win-minidump/ProcessWinMiniDump.h
  source/Plugins/Process/win-minidump/RegisterContextWindowsMiniDump.cpp
  source/Plugins/Process/win-minidump/RegisterContextWindowsMiniDump.h
  source/Plugins/Process/win-minidump/ThreadWinMiniDump.cpp
  source/Plugins/Process/win-minidump/ThreadWinMiniDump.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11611.30957.patch
Type: text/x-patch
Size: 25045 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150729/82762c84/attachment.bin>


More information about the lldb-commits mailing list