summaryrefslogtreecommitdiffstats
path: root/lldb/scripts
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2016-09-22 23:42:42 +0000
committerJim Ingham <jingham@apple.com>2016-09-22 23:42:42 +0000
commit2d3628e1f0c52db37d53061f2113e90e52ca0200 (patch)
treee2e551b2572b96b30b5fc7c89963e91375bdc013 /lldb/scripts
parentbe0ed59cdc9b765869b0a2355b185809507a02db (diff)
downloadbcm5719-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/scripts')
-rw-r--r--lldb/scripts/interface/SBTarget.i9
1 files changed, 8 insertions, 1 deletions
diff --git a/lldb/scripts/interface/SBTarget.i b/lldb/scripts/interface/SBTarget.i
index 9a9cc63531d..c1d749c7ce7 100644
--- a/lldb/scripts/interface/SBTarget.i
+++ b/lldb/scripts/interface/SBTarget.i
@@ -786,12 +786,19 @@ public:
/// @param[in] bkpt_list
/// Only write breakpoints from this list.
///
+ /// @param[in] append
+ /// If \btrue, append the breakpoints in bkpt_list to the others
+ /// serialized in dest_file. If dest_file doesn't exist, then a new
+ /// file will be created and the breakpoints in bkpt_list written to it.
+ ///
/// @return
/// An SBError detailing any errors in writing in the breakpoints.
//------------------------------------------------------------------
") BreakpointsCreateFromFile;
lldb::SBError
- BreakpointsWriteToFile(SBFileSpec &dest_file, SBBreakpointList &bkpt_list);
+ BreakpointsWriteToFile(SBFileSpec &dest_file,
+ SBBreakpointList &bkpt_list,
+ bool append = false);
uint32_t
GetNumWatchpoints () const;
OpenPOWER on IntegriCloud