llvm-project/lldb/source/Target
Adrian McCarthy 3887ba8d38 Re-land r313210 - Fix for bug 34532 - A few rough corners related to post-mortem debugging (core/minidump)
The main change is to avoid setting the process state as running when
debugging core/minidumps (details in the bug).  Also included a few small,
related fixes around how the errors propagate in this case.

Fixed the FreeBSD/Windows break: the intention was to keep
Process::WillResume() and Process::DoResume() "in-sync", but this had the
unfortunate consequence of breaking Process sub-classes which don't override
WillResume().

The safer approach is to keep Process::WillResume() untouched and only
override it in the minidump and core implementations.

patch by lemo

Bug: https://bugs.llvm.org/show_bug.cgi?id=34532

Differential Revision: https://reviews.llvm.org/D37651

llvm-svn: 313655
2017-09-19 18:07:33 +00:00
..
ABI.cpp Change the ABI class to have a weak pointer to its Process; 2017-06-29 02:57:03 +00:00
CMakeLists.txt Delete some more dead includes. 2017-03-22 23:33:16 +00:00
CPPLanguageRuntime.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ExecutionContext.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
FileAction.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
InstrumentationRuntime.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
InstrumentationRuntimeStopInfo.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
JITLoader.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
JITLoaderList.cpp [lldb] Fix typos in file headers 2016-11-26 05:23:44 +00:00
Language.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
LanguageRuntime.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Memory.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
MemoryHistory.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ModuleCache.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ObjCLanguageRuntime.cpp Move Timer and TraceOptions from Core to Utility 2017-06-29 14:32:17 +00:00
OperatingSystem.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
PathMappingList.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Platform.cpp Make i386-*-freebsd expression work on JIT path 2017-08-16 12:55:02 +00:00
Process.cpp Re-land r313210 - Fix for bug 34532 - A few rough corners related to post-mortem debugging (core/minidump) 2017-09-19 18:07:33 +00:00
ProcessInfo.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
ProcessLaunchInfo.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Queue.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
QueueItem.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
QueueList.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
RegisterContext.cpp Remove the DWARFExpression -> Clang ExpressionParser dependency 2017-08-16 11:45:10 +00:00
RegisterNumber.cpp Remove dependencies from Utility to Core and Target. 2017-02-14 19:06:07 +00:00
SectionLoadHistory.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
SectionLoadList.cpp Fix backtrace of noreturn functions situated at the end of a module 2017-06-08 13:26:35 +00:00
StackFrame.cpp Remove the DWARFExpression -> Clang ExpressionParser dependency 2017-08-16 11:45:10 +00:00
StackFrameList.cpp Introduce new command: thread backtrace unique 2017-06-12 16:25:24 +00:00
StackID.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
StopInfo.cpp Add an auto-continue flag to breakpoints & locations. 2017-08-03 18:13:24 +00:00
StructuredDataPlugin.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SystemRuntime.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Target.cpp Make breakpoint names real entities. 2017-09-14 20:22:49 +00:00
TargetList.cpp Move Timer and TraceOptions from Core to Utility 2017-06-29 14:32:17 +00:00
Thread.cpp Introduce new command: thread backtrace unique 2017-06-12 16:25:24 +00:00
ThreadCollection.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadList.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlan.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanBase.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanCallFunction.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ThreadPlanCallFunctionUsingABI.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanCallOnFunctionExit.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanCallUserExpression.cpp Add DidStartExecuting/WillFinishExecuting methods to Expression. 2017-05-05 22:42:13 +00:00
ThreadPlanPython.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanRunToAddress.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanShouldStopHere.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanStepInRange.cpp Log whether we found a step out plan or not. 2017-08-23 19:40:21 +00:00
ThreadPlanStepInstruction.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanStepOut.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanStepOverBreakpoint.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanStepOverRange.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanStepRange.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanStepThrough.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanStepUntil.cpp iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
ThreadPlanTracer.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ThreadSpec.cpp Move StructuredData from Core to Utility 2017-06-27 10:45:31 +00:00
UnixSignals.cpp Make LLDB skip server-client roundtrip for signals that don't require any actions 2017-03-07 21:34:40 +00:00
UnwindAssembly.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00