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
This commit is contained in:
Jim Ingham
2014-12-06 01:28:03 +00:00
parent da41af9e94
commit 33df7cd345
28 changed files with 506 additions and 116 deletions

View File

@@ -95,3 +95,10 @@ BreakpointResolverFileRegex::Dump (Stream *s) const
}
lldb::BreakpointResolverSP
BreakpointResolverFileRegex::CopyForBreakpoint (Breakpoint &breakpoint)
{
lldb::BreakpointResolverSP ret_sp(new BreakpointResolverFileRegex(&breakpoint, m_regex));
return ret_sp;
}