[Lldb-commits] [PATCH] D55727: Add "dump" command as a custom "process plugin" subcommand when ProcessMinidump is used.

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 14 15:15:35 PST 2018


clayborg created this revision.
clayborg added reviewers: zturner, labath, lemo.

Each process plug-in can create its own custom commands. I figured it would be nice to be able to dump things from the minidump file from the lldb command line, so I added the start of the some custom commands.

Currently you can dump:

- minidump stream directory
- all linux specifc streams, most of which are strings
- each linux stream individually if desired, or all with --linux

The idea is we can expand the command set to dump more things, search for data in the core file, and much more. This patch gets us started.


https://reviews.llvm.org/D55727

Files:
  source/Plugins/Process/minidump/MinidumpParser.cpp
  source/Plugins/Process/minidump/MinidumpParser.h
  source/Plugins/Process/minidump/MinidumpTypes.h
  source/Plugins/Process/minidump/ProcessMinidump.cpp
  source/Plugins/Process/minidump/ProcessMinidump.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55727.178303.patch
Type: text/x-patch
Size: 15018 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181214/b96adf0b/attachment.bin>


More information about the lldb-commits mailing list