diff options
author | Jim Ingham <jingham@apple.com> | 2012-06-27 17:25:36 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2012-06-27 17:25:36 +0000 |
commit | 70f11f88e3e2b95e030f26a05d1f20893746b410 (patch) | |
tree | c25457878a9c530216c707905bdc5a4c8a1d1acc /lldb/scripts/Python/interface | |
parent | a58862310cb510b75d77b8cf156d8bb5192b7e20 (diff) | |
download | bcm5719-llvm-70f11f88e3e2b95e030f26a05d1f20893746b410.tar.gz bcm5719-llvm-70f11f88e3e2b95e030f26a05d1f20893746b410.zip |
Make a way to set the result status for Python defined commands, and don't overwrite the status of the result if
the python command has set it.
llvm-svn: 159273
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r-- | lldb/scripts/Python/interface/SBCommandReturnObject.i | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBCommandReturnObject.i b/lldb/scripts/Python/interface/SBCommandReturnObject.i index 51d8ca8a77f..aed02eac64b 100644 --- a/lldb/scripts/Python/interface/SBCommandReturnObject.i +++ b/lldb/scripts/Python/interface/SBCommandReturnObject.i @@ -50,6 +50,9 @@ public: void Clear(); + void + SetStatus (lldb::ReturnStatus status); + lldb::ReturnStatus GetStatus(); |