Home
last modified time | relevance | path

Searched refs:sb_error (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBProcess.cpp568 SBError sb_error; in Continue() local
576 sb_error.ref() = process_sp->Resume(); in Continue()
578 sb_error.ref() = process_sp->ResumeSynchronous(nullptr); in Continue()
580 sb_error.SetErrorString("SBProcess is invalid"); in Continue()
582 return sb_error; in Continue()
588 SBError sb_error; in Destroy() local
593 sb_error.SetError(process_sp->Destroy(false)); in Destroy()
595 sb_error.SetErrorString("SBProcess is invalid"); in Destroy()
597 return sb_error; in Destroy()
603 SBError sb_error; in Stop() local
[all …]
H A DSBPlatform.cpp382 SBError sb_error; in ConnectRemote()
387 sb_error.ref() = platform_sp->ConnectRemote(args); in ConnectRemote()
389 sb_error.SetErrorString("invalid platform"); in ConnectRemote()
391 return sb_error; in DisconnectRemote()
501 SBError sb_error; in Get()
504 sb_error.ref() = platform_sp->GetFile(src.ref(), dst.ref()); in Get()
506 sb_error.SetErrorString("invalid platform"); in Get()
508 return sb_error; in Put()
626 SBError sb_error; in SetFilePermissions()
630 sb_error in SetFilePermissions()
379 SBError sb_error; ConnectRemote() local
498 SBError sb_error; Get() local
586 SBError sb_error; ExecuteConnected() local
602 SBError sb_error; MakeDirectory() local
629 SBError sb_error; SetFilePermissions() local
[all...]
H A DSBThread.cpp492 SBError sb_error; in ResumeNewPlan() local
496 sb_error.SetErrorString("No process in SBThread::ResumeNewPlan"); in ResumeNewPlan()
497 return sb_error; in ResumeNewPlan()
502 sb_error.SetErrorString("No thread in SBThread::ResumeNewPlan"); in ResumeNewPlan()
503 return sb_error; in ResumeNewPlan()
517 sb_error.ref() = process->Resume(); in ResumeNewPlan()
519 sb_error.ref() = process->ResumeSynchronous(nullptr); in ResumeNewPlan()
521 return sb_error; in ResumeNewPlan()
772 SBError sb_error; in StepOverUntil() local
785 sb_error.SetErrorString("invalid line argument"); in StepOverUntil()
[all …]
H A DSBBreakpointLocation.cpp226 SBError sb_error; in SetScriptCallbackFunction()
242 sb_error.SetError(error); in SetScriptCallbackFunction()
244 sb_error.SetErrorString("invalid breakpoint"); in SetScriptCallbackFunction()
246 return sb_error; in SetScriptCallbackFunction()
255 SBError sb_error; in SetScriptCallbackBody()
267 sb_error.SetError(error); in SetScriptCallbackBody()
269 sb_error.SetErrorString("invalid breakpoint"); in SetScriptCallbackBody()
271 return sb_error; in SetScriptCallbackBody()
227 SBError sb_error; SetScriptCallbackFunction() local
256 SBError sb_error; SetScriptCallbackBody() local
H A DSBBreakpointName.cpp562 SBError sb_error; in SetScriptCallbackFunction() local
565 sb_error.SetErrorString("unrecognized breakpoint name"); in SetScriptCallbackFunction()
566 return sb_error; in SetScriptCallbackFunction()
580 sb_error.SetError(error); in SetScriptCallbackFunction()
582 return sb_error; in SetScriptCallbackFunction()
589 SBError sb_error; in SetScriptCallbackBody() local
592 return sb_error; in SetScriptCallbackBody()
603 sb_error.SetError(error); in SetScriptCallbackBody()
604 if (!sb_error.Fail()) in SetScriptCallbackBody()
607 return sb_error; in SetScriptCallbackBody()
H A DSBDebugger.cpp371 SBError sb_error; in SetInputString() local
373 sb_error.SetErrorString("String data is null"); in SetInputString()
374 return sb_error; in SetInputString()
379 sb_error.SetErrorString("String data is empty"); in SetInputString()
380 return sb_error; in SetInputString()
384 sb_error.SetErrorString("invalid debugger"); in SetInputString()
385 return sb_error; in SetInputString()
388 sb_error.SetError(m_opaque_sp->SetInputString(data)); in SetInputString()
389 return sb_error; in SetInputString()
826 lldb::SBError &sb_error) { in CreateTarget() argument
[all …]
H A DSBTarget.cpp297 SBError sb_error; in Install() local
301 sb_error.ref() = target_sp->Install(nullptr); in Install()
303 return sb_error; in Install()
664 SBError sb_error; in ReadMemory() local
670 target_sp->ReadMemory(addr.ref(), buf, size, sb_error.ref(), true); in ReadMemory()
672 sb_error.SetErrorString("invalid target"); in ReadMemory()
2104 SBError sb_error; in SetSectionLoadAddress() local
2108 sb_error.SetErrorStringWithFormat("invalid section"); in SetSectionLoadAddress()
2113 sb_error.SetErrorString( in SetSectionLoadAddress()
2132 sb_error.SetErrorString("invalid target"); in SetSectionLoadAddress()
[all …]
H A DSBValueList.cpp206 SBError sb_error; in GetError() local
208 sb_error.SetError(m_opaque_up->GetError()); in GetError()
209 return sb_error; in GetError()
H A DSBStructuredData.cpp130 SBError sb_error; in GetDescription() local
131 sb_error.SetError(error); in GetDescription()
132 return sb_error; in GetDescription()
H A DSBBreakpoint.cpp609 SBError sb_error; in SetScriptCallbackFunction() local
624 sb_error.SetError(error); in SetScriptCallbackFunction()
626 sb_error.SetErrorString("invalid breakpoint"); in SetScriptCallbackFunction()
628 return sb_error; in SetScriptCallbackFunction()
636 SBError sb_error; in SetScriptCallbackBody() local
647 sb_error.SetError(error); in SetScriptCallbackBody()
649 sb_error.SetErrorString("invalid breakpoint"); in SetScriptCallbackBody()
651 return sb_error; in SetScriptCallbackBody()
H A DSBWatchpoint.cpp86 SBError sb_error; in GetError()
89 sb_error.SetError(watchpoint_sp->GetError()); in GetError()
91 return sb_error; in GetError()
87 SBError sb_error; GetError() local
H A DSBValue.cpp268 SBError sb_error; in GetError() local
273 sb_error.SetError(value_sp->GetError()); in GetError()
275 sb_error.SetErrorStringWithFormat("error: %s", in GetError()
278 return sb_error; in GetError()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptedPythonInterface.cpp
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/
H A DScriptedPythonInterface.cpp48 if (lldb::SBError *sb_error = reinterpret_cast<lldb::SBError *>( in ExtractValueFromPythonObject() local
50 return m_interpreter.GetStatusFromSBError(*sb_error); in ExtractValueFromPythonObject()