Lines Matching refs:sb_error
663 SBError sb_error; in Continue() local
675 sb_error.ref() = process_sp->Resume(); in Continue()
677 sb_error.ref() = process_sp->ResumeSynchronous(NULL); in Continue()
679 sb_error.SetErrorString("SBProcess is invalid"); in Continue()
683 sb_error.GetDescription(sstr); in Continue()
686 static_cast<void *>(sb_error.get()), sstr.GetData()); in Continue()
689 return sb_error; in Continue()
693 SBError sb_error; in Destroy() local
698 sb_error.SetError(process_sp->Destroy(false)); in Destroy()
700 sb_error.SetErrorString("SBProcess is invalid"); in Destroy()
705 sb_error.GetDescription(sstr); in Destroy()
708 static_cast<void *>(sb_error.get()), sstr.GetData()); in Destroy()
711 return sb_error; in Destroy()
715 SBError sb_error; in Stop() local
720 sb_error.SetError(process_sp->Halt()); in Stop()
722 sb_error.SetErrorString("SBProcess is invalid"); in Stop()
727 sb_error.GetDescription(sstr); in Stop()
730 static_cast<void *>(sb_error.get()), sstr.GetData()); in Stop()
733 return sb_error; in Stop()
737 SBError sb_error; in Kill() local
742 sb_error.SetError(process_sp->Destroy(true)); in Kill()
744 sb_error.SetErrorString("SBProcess is invalid"); in Kill()
749 sb_error.GetDescription(sstr); in Kill()
752 static_cast<void *>(sb_error.get()), sstr.GetData()); in Kill()
755 return sb_error; in Kill()
765 SBError sb_error; in Detach() local
770 sb_error.SetError(process_sp->Detach(keep_stopped)); in Detach()
772 sb_error.SetErrorString("SBProcess is invalid"); in Detach()
774 return sb_error; in Detach()
778 SBError sb_error; in Signal() local
783 sb_error.SetError(process_sp->Signal(signo)); in Signal()
785 sb_error.SetErrorString("SBProcess is invalid"); in Signal()
789 sb_error.GetDescription(sstr); in Signal()
792 static_cast<void *>(sb_error.get()), sstr.GetData()); in Signal()
794 return sb_error; in Signal()
944 SBError &sb_error) { in ReadMemory() argument
956 static_cast<void *>(sb_error.get())); in ReadMemory()
963 bytes_read = process_sp->ReadMemory(addr, dst, dst_len, sb_error.ref()); in ReadMemory()
968 sb_error.SetErrorString("process is running"); in ReadMemory()
971 sb_error.SetErrorString("SBProcess is invalid"); in ReadMemory()
976 sb_error.GetDescription(sstr); in ReadMemory()
981 static_cast<void *>(sb_error.get()), sstr.GetData(), in ReadMemory()
989 lldb::SBError &sb_error) { in ReadCStringFromMemory() argument
998 sb_error.ref()); in ReadCStringFromMemory()
1005 sb_error.SetErrorString("process is running"); in ReadCStringFromMemory()
1008 sb_error.SetErrorString("SBProcess is invalid"); in ReadCStringFromMemory()
1014 lldb::SBError &sb_error) { in ReadUnsignedFromMemory() argument
1023 sb_error.ref()); in ReadUnsignedFromMemory()
1030 sb_error.SetErrorString("process is running"); in ReadUnsignedFromMemory()
1033 sb_error.SetErrorString("SBProcess is invalid"); in ReadUnsignedFromMemory()
1039 lldb::SBError &sb_error) { in ReadPointerFromMemory() argument
1047 ptr = process_sp->ReadPointerFromMemory(addr, sb_error.ref()); in ReadPointerFromMemory()
1054 sb_error.SetErrorString("process is running"); in ReadPointerFromMemory()
1057 sb_error.SetErrorString("SBProcess is invalid"); in ReadPointerFromMemory()
1063 SBError &sb_error) { in WriteMemory() argument
1075 static_cast<void *>(sb_error.get())); in WriteMemory()
1083 process_sp->WriteMemory(addr, src, src_len, sb_error.ref()); in WriteMemory()
1088 sb_error.SetErrorString("process is running"); in WriteMemory()
1094 sb_error.GetDescription(sstr); in WriteMemory()
1099 static_cast<void *>(sb_error.get()), sstr.GetData(), in WriteMemory()
1129 SBProcess::GetNumSupportedHardwareWatchpoints(lldb::SBError &sb_error) const { in GetNumSupportedHardwareWatchpoints()
1137 sb_error.SetError(process_sp->GetWatchpointSupportInfo(num)); in GetNumSupportedHardwareWatchpoints()
1142 sb_error.SetErrorString("SBProcess is invalid"); in GetNumSupportedHardwareWatchpoints()
1148 lldb::SBError &sb_error) { in LoadImage() argument
1149 return LoadImage(SBFileSpec(), sb_remote_image_spec, sb_error); in LoadImage()
1154 lldb::SBError &sb_error) { in LoadImage() argument
1170 *sb_remote_image_spec, sb_error.ref()); in LoadImage()
1175 sb_error.SetErrorString("process is running"); in LoadImage()
1182 sb_error.SetErrorString("process is invalid"); in LoadImage()
1239 lldb::SBError sb_error; in UnloadImage() local
1247 sb_error.SetError( in UnloadImage()
1254 sb_error.SetErrorString("process is running"); in UnloadImage()
1257 sb_error.SetErrorString("invalid process"); in UnloadImage()
1258 return sb_error; in UnloadImage()
1262 lldb::SBError sb_error; in SendEventData() local
1269 sb_error.SetError(process_sp->SendEventData(event_data)); in SendEventData()
1276 sb_error.SetErrorString("process is running"); in SendEventData()
1279 sb_error.SetErrorString("invalid process"); in SendEventData()
1280 return sb_error; in SendEventData()
1359 lldb::SBError sb_error; in GetMemoryRegionInfo() local
1367 sb_error.ref() = in GetMemoryRegionInfo()
1375 sb_error.SetErrorString("process is running"); in GetMemoryRegionInfo()
1378 sb_error.SetErrorString("SBProcess is invalid"); in GetMemoryRegionInfo()
1380 return sb_error; in GetMemoryRegionInfo()