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

@@ -110,3 +110,14 @@ BreakpointResolverFileLine::Dump (Stream *s) const
}
lldb::BreakpointResolverSP
BreakpointResolverFileLine::CopyForBreakpoint (Breakpoint &breakpoint)
{
lldb::BreakpointResolverSP ret_sp(new BreakpointResolverFileLine(&breakpoint,
m_file_spec,
m_line_number,
m_inlines,
m_skip_prologue));
return ret_sp;
}