Lines Matching refs:sb_error
568 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
608 sb_error.SetError(process_sp->Halt()); in Stop()
610 sb_error.SetErrorString("SBProcess is invalid"); in Stop()
612 return sb_error; in Stop()
618 SBError sb_error; in Kill() local
623 sb_error.SetError(process_sp->Destroy(true)); in Kill()
625 sb_error.SetErrorString("SBProcess is invalid"); in Kill()
627 return sb_error; in Kill()
641 SBError sb_error; in Detach() local
646 sb_error.SetError(process_sp->Detach(keep_stopped)); in Detach()
648 sb_error.SetErrorString("SBProcess is invalid"); in Detach()
650 return sb_error; in Detach()
656 SBError sb_error; in Signal() local
661 sb_error.SetError(process_sp->Signal(signo)); in Signal()
663 sb_error.SetErrorString("SBProcess is invalid"); in Signal()
665 return sb_error; in Signal()
814 SBError &sb_error) { in ReadMemory() argument
815 LLDB_INSTRUMENT_VA(this, addr, dst, dst_len, sb_error); in ReadMemory()
818 sb_error.SetErrorStringWithFormat( in ReadMemory()
832 bytes_read = process_sp->ReadMemory(addr, dst, dst_len, sb_error.ref()); in ReadMemory()
834 sb_error.SetErrorString("process is running"); in ReadMemory()
837 sb_error.SetErrorString("SBProcess is invalid"); in ReadMemory()
844 lldb::SBError &sb_error) { in ReadCStringFromMemory() argument
845 LLDB_INSTRUMENT_VA(this, addr, buf, size, sb_error); in ReadCStringFromMemory()
855 sb_error.ref()); in ReadCStringFromMemory()
857 sb_error.SetErrorString("process is running"); in ReadCStringFromMemory()
860 sb_error.SetErrorString("SBProcess is invalid"); in ReadCStringFromMemory()
866 lldb::SBError &sb_error) { in ReadUnsignedFromMemory() argument
867 LLDB_INSTRUMENT_VA(this, addr, byte_size, sb_error); in ReadUnsignedFromMemory()
877 sb_error.ref()); in ReadUnsignedFromMemory()
879 sb_error.SetErrorString("process is running"); in ReadUnsignedFromMemory()
882 sb_error.SetErrorString("SBProcess is invalid"); in ReadUnsignedFromMemory()
888 lldb::SBError &sb_error) { in ReadPointerFromMemory() argument
889 LLDB_INSTRUMENT_VA(this, addr, sb_error); in ReadPointerFromMemory()
898 ptr = process_sp->ReadPointerFromMemory(addr, sb_error.ref()); in ReadPointerFromMemory()
900 sb_error.SetErrorString("process is running"); in ReadPointerFromMemory()
903 sb_error.SetErrorString("SBProcess is invalid"); in ReadPointerFromMemory()
909 SBError &sb_error) { in WriteMemory() argument
910 LLDB_INSTRUMENT_VA(this, addr, src, src_len, sb_error); in WriteMemory()
922 process_sp->WriteMemory(addr, src, src_len, sb_error.ref()); in WriteMemory()
924 sb_error.SetErrorString("process is running"); in WriteMemory()
979 SBProcess::GetNumSupportedHardwareWatchpoints(lldb::SBError &sb_error) const { in GetNumSupportedHardwareWatchpoints()
980 LLDB_INSTRUMENT_VA(this, sb_error); in GetNumSupportedHardwareWatchpoints()
991 sb_error.SetErrorString("Unable to determine number of watchpoints"); in GetNumSupportedHardwareWatchpoints()
994 sb_error.SetErrorString("SBProcess is invalid"); in GetNumSupportedHardwareWatchpoints()
1000 lldb::SBError &sb_error) { in LoadImage() argument
1001 LLDB_INSTRUMENT_VA(this, sb_remote_image_spec, sb_error); in LoadImage()
1003 return LoadImage(SBFileSpec(), sb_remote_image_spec, sb_error); in LoadImage()
1008 lldb::SBError &sb_error) { in LoadImage() argument
1009 LLDB_INSTRUMENT_VA(this, sb_local_image_spec, sb_remote_image_spec, sb_error); in LoadImage()
1019 *sb_remote_image_spec, sb_error.ref()); in LoadImage()
1021 sb_error.SetErrorString("process is running"); in LoadImage()
1024 sb_error.SetErrorString("process is invalid"); in LoadImage()
1067 lldb::SBError sb_error; in UnloadImage() local
1075 sb_error.SetError( in UnloadImage()
1078 sb_error.SetErrorString("process is running"); in UnloadImage()
1081 sb_error.SetErrorString("invalid process"); in UnloadImage()
1082 return sb_error; in UnloadImage()
1088 lldb::SBError sb_error; in SendEventData() local
1095 sb_error.SetError(process_sp->SendEventData(event_data)); in SendEventData()
1097 sb_error.SetErrorString("process is running"); in SendEventData()
1100 sb_error.SetErrorString("invalid process"); in SendEventData()
1101 return sb_error; in SendEventData()
1199 lldb::SBError sb_error; in GetMemoryRegionInfo() local
1207 sb_error.ref() = in GetMemoryRegionInfo()
1210 sb_error.SetErrorString("process is running"); in GetMemoryRegionInfo()
1213 sb_error.SetErrorString("SBProcess is invalid"); in GetMemoryRegionInfo()
1215 return sb_error; in GetMemoryRegionInfo()
1248 lldb::SBError &sb_error) { in AllocateMemory() argument
1249 LLDB_INSTRUMENT_VA(this, size, permissions, sb_error); in AllocateMemory()
1258 addr = process_sp->AllocateMemory(size, permissions, sb_error.ref()); in AllocateMemory()
1260 sb_error.SetErrorString("process is running"); in AllocateMemory()
1263 sb_error.SetErrorString("SBProcess is invalid"); in AllocateMemory()
1271 lldb::SBError sb_error; in DeallocateMemory() local
1279 sb_error.SetError(error); in DeallocateMemory()
1281 sb_error.SetErrorString("process is running"); in DeallocateMemory()
1284 sb_error.SetErrorString("SBProcess is invalid"); in DeallocateMemory()
1286 return sb_error; in DeallocateMemory()