aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Interpreter/CommandObject.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2014-12-06 01:28:03 +0000
committerJim Ingham <jingham@apple.com>2014-12-06 01:28:03 +0000
commit33df7cd345e926f63c02c29bcaa5826dea84f265 (patch)
tree9da478a4d3225be373ffeac9d30aaaa6ee30519a /lldb/source/Interpreter/CommandObject.cpp
parentda41af9e9423eeb435bbf64f94649726569ae45b (diff)
downloadllvm-33df7cd345e926f63c02c29bcaa5826dea84f265.zip
llvm-33df7cd345e926f63c02c29bcaa5826dea84f265.tar.gz
llvm-33df7cd345e926f63c02c29bcaa5826dea84f265.tar.bz2
Add the ability to set breakpoints with conditions, commands, etc,
in the "dummy-target". The dummy target breakpoints prime all future targets. Breakpoints set before any target is created (e.g. breakpoints in ~/.lldbinit) automatically get set in the dummy target. You can also list, add & delete breakpoints from the dummy target using the "-D" flag, which is supported by most of the breakpoint commands. This removes a long-standing wart in lldb... <rdar://problem/10881487> llvm-svn: 223565
Diffstat (limited to 'lldb/source/Interpreter/CommandObject.cpp')
-rw-r--r--lldb/source/Interpreter/CommandObject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp
index 7375b43..0096541 100644
--- a/lldb/source/Interpreter/CommandObject.cpp
+++ b/lldb/source/Interpreter/CommandObject.cpp
@@ -1025,9 +1025,9 @@ CommandObject::GetDummyTarget()
}
Target *
-CommandObject::GetSelectedOrDummyTarget()
+CommandObject::GetSelectedOrDummyTarget(bool prefer_dummy)
{
- return m_interpreter.GetDebugger().GetSelectedOrDummyTarget();
+ return m_interpreter.GetDebugger().GetSelectedOrDummyTarget(prefer_dummy);
}
bool