[Lldb-commits] [PATCH] D20722: Implement ProcessInfo::Dump(), log gdb-remote stub launch
Todd Fiala via lldb-commits
lldb-commits at lists.llvm.org
Thu May 26 21:26:48 PDT 2016
tfiala created this revision.
tfiala added reviewers: clayborg, labath, ovyalov.
tfiala added a subscriber: lldb-commits.
This change implements dumping the executable, triple,
args and environment when using ProcessInfo::Dump().
It also tweaks the way Args::Dump() works so that it prints
a configurable label rather than argv[{index}]={value}. By
default it behaves the same, but if the Dump() method with
the additional arg is provided, it can be overridden. The
environment variables dumped as part of ProcessInfo::Dump()
make use of that.
lldb-server has been modified to dump the gdb-remote stub's
ProcessInfo before launching if the "gdb-remote process" channel
is logged.
http://reviews.llvm.org/D20722
Files:
include/lldb/Breakpoint/BreakpointLocationCollection.h
include/lldb/Core/Logging.h
source/Breakpoint/BreakpointLocationCollection.cpp
source/Core/Logging.cpp
source/Core/Mangled.cpp
source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.h
source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
source/Symbol/ClangASTContext.cpp
source/Target/ProcessInfo.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20722.58750.patch
Type: text/x-patch
Size: 26074 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160527/7e56197d/attachment-0001.bin>
More information about the lldb-commits
mailing list