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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user