Index: scripts/interface/SBError.i =================================================================== --- scripts/interface/SBError.i +++ scripts/interface/SBError.i @@ -56,6 +56,7 @@ checks that after calling the target.Launch() method there's no error condition and we get back a void process object. ") SBError; + class SBError { public: SBError (); @@ -94,6 +95,7 @@ void SetErrorString (const char *err_str); + %varargs(3, char *str = NULL) SetErrorStringWithFormat; int SetErrorStringWithFormat (const char *format, ...); Index: test/python_api/default-constructor/sb_error.py =================================================================== --- test/python_api/default-constructor/sb_error.py +++ test/python_api/default-constructor/sb_error.py @@ -18,5 +18,8 @@ obj.SetErrorString(None) obj.SetErrorStringWithFormat("%s!", "error") obj.SetErrorStringWithFormat(None) + obj.SetErrorStringWithFormat("error") + obj.SetErrorStringWithFormat("%s %s", "warning", "danger") + obj.SetErrorStringWithFormat("%s %s %s", "danger", "will", "robinson") obj.GetDescription(lldb.SBStream()) obj.Clear()