diff options
author | Jim Ingham <jingham@apple.com> | 2016-09-22 23:42:42 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2016-09-22 23:42:42 +0000 |
commit | 2d3628e1f0c52db37d53061f2113e90e52ca0200 (patch) | |
tree | e2e551b2572b96b30b5fc7c89963e91375bdc013 /lldb/source/API/SBTarget.cpp | |
parent | be0ed59cdc9b765869b0a2355b185809507a02db (diff) | |
download | bcm5719-llvm-2d3628e1f0c52db37d53061f2113e90e52ca0200.tar.gz bcm5719-llvm-2d3628e1f0c52db37d53061f2113e90e52ca0200.zip |
Add the ability to append breakpoints to the save file.
llvm-svn: 282212
Diffstat (limited to 'lldb/source/API/SBTarget.cpp')
-rw-r--r-- | lldb/source/API/SBTarget.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lldb/source/API/SBTarget.cpp b/lldb/source/API/SBTarget.cpp index 54ed0989daf..7515343e044 100644 --- a/lldb/source/API/SBTarget.cpp +++ b/lldb/source/API/SBTarget.cpp @@ -1176,7 +1176,8 @@ lldb::SBError SBTarget::BreakpointsWriteToFile(SBFileSpec &dest_file) { } lldb::SBError SBTarget::BreakpointsWriteToFile(SBFileSpec &dest_file, - SBBreakpointList &bkpt_list) { + SBBreakpointList &bkpt_list, + bool append) { SBError sberr; TargetSP target_sp(GetSP()); if (!target_sp) { @@ -1187,8 +1188,8 @@ lldb::SBError SBTarget::BreakpointsWriteToFile(SBFileSpec &dest_file, std::lock_guard<std::recursive_mutex> guard(target_sp->GetAPIMutex()); BreakpointIDList bp_id_list; bkpt_list.CopyToBreakpointIDList(bp_id_list); - sberr.ref() = - target_sp->SerializeBreakpointsToFile(dest_file.ref(), bp_id_list); + sberr.ref() = target_sp->SerializeBreakpointsToFile(dest_file.ref(), + bp_id_list, append); return sberr; } |