Lines Matching refs:sb_error
668 SBError sb_error; in Continue() local
688 sb_error.SetError(error); in Continue()
691 sb_error.SetErrorString ("SBProcess is invalid"); in Continue()
696 sb_error.GetDescription (sstr); in Continue()
697 …log->Printf ("SBProcess(%p)::Continue () => SBError (%p): %s", process_sp.get(), sb_error.get(), s… in Continue()
700 return sb_error; in Continue()
707 SBError sb_error; in Destroy() local
712 sb_error.SetError(process_sp->Destroy()); in Destroy()
715 sb_error.SetErrorString ("SBProcess is invalid"); in Destroy()
721 sb_error.GetDescription (sstr); in Destroy()
724 sb_error.get(), in Destroy()
728 return sb_error; in Destroy()
735 SBError sb_error; in Stop() local
740 sb_error.SetError (process_sp->Halt()); in Stop()
743 sb_error.SetErrorString ("SBProcess is invalid"); in Stop()
749 sb_error.GetDescription (sstr); in Stop()
752 sb_error.get(), in Stop()
756 return sb_error; in Stop()
762 SBError sb_error; in Kill() local
767 sb_error.SetError (process_sp->Destroy()); in Kill()
770 sb_error.SetErrorString ("SBProcess is invalid"); in Kill()
776 sb_error.GetDescription (sstr); in Kill()
779 sb_error.get(), in Kill()
783 return sb_error; in Kill()
797 SBError sb_error; in Detach() local
802 sb_error.SetError (process_sp->Detach(keep_stopped)); in Detach()
805 sb_error.SetErrorString ("SBProcess is invalid"); in Detach()
807 return sb_error; in Detach()
813 SBError sb_error; in Signal() local
818 sb_error.SetError (process_sp->Signal (signo)); in Signal()
821 sb_error.SetErrorString ("SBProcess is invalid"); in Signal()
826 sb_error.GetDescription (sstr); in Signal()
830 sb_error.get(), in Signal()
833 return sb_error; in Signal()
968 SBProcess::ReadMemory (addr_t addr, void *dst, size_t dst_len, SBError &sb_error) in ReadMemory() argument
983 sb_error.get()); in ReadMemory()
992 bytes_read = process_sp->ReadMemory (addr, dst, dst_len, sb_error.ref()); in ReadMemory()
998 sb_error.SetErrorString("process is running"); in ReadMemory()
1003 sb_error.SetErrorString ("SBProcess is invalid"); in ReadMemory()
1009 sb_error.GetDescription (sstr); in ReadMemory()
1015 sb_error.get(), in ReadMemory()
1024 SBProcess::ReadCStringFromMemory (addr_t addr, void *buf, size_t size, lldb::SBError &sb_error) in ReadCStringFromMemory() argument
1034 … bytes_read = process_sp->ReadCStringFromMemory (addr, (char *)buf, size, sb_error.ref()); in ReadCStringFromMemory()
1041 sb_error.SetErrorString("process is running"); in ReadCStringFromMemory()
1046 sb_error.SetErrorString ("SBProcess is invalid"); in ReadCStringFromMemory()
1052 SBProcess::ReadUnsignedFromMemory (addr_t addr, uint32_t byte_size, lldb::SBError &sb_error) in ReadUnsignedFromMemory() argument
1062 value = process_sp->ReadUnsignedIntegerFromMemory (addr, byte_size, 0, sb_error.ref()); in ReadUnsignedFromMemory()
1069 sb_error.SetErrorString("process is running"); in ReadUnsignedFromMemory()
1074 sb_error.SetErrorString ("SBProcess is invalid"); in ReadUnsignedFromMemory()
1080 SBProcess::ReadPointerFromMemory (addr_t addr, lldb::SBError &sb_error) in ReadPointerFromMemory() argument
1090 ptr = process_sp->ReadPointerFromMemory (addr, sb_error.ref()); in ReadPointerFromMemory()
1097 sb_error.SetErrorString("process is running"); in ReadPointerFromMemory()
1102 sb_error.SetErrorString ("SBProcess is invalid"); in ReadPointerFromMemory()
1108 SBProcess::WriteMemory (addr_t addr, const void *src, size_t src_len, SBError &sb_error) in WriteMemory() argument
1123 sb_error.get()); in WriteMemory()
1132 bytes_written = process_sp->WriteMemory (addr, src, src_len, sb_error.ref()); in WriteMemory()
1138 sb_error.SetErrorString("process is running"); in WriteMemory()
1145 sb_error.GetDescription (sstr); in WriteMemory()
1151 sb_error.get(), in WriteMemory()
1188 SBProcess::GetNumSupportedHardwareWatchpoints (lldb::SBError &sb_error) const in GetNumSupportedHardwareWatchpoints()
1197 sb_error.SetError(process_sp->GetWatchpointSupportInfo (num)); in GetNumSupportedHardwareWatchpoints()
1204 sb_error.SetErrorString ("SBProcess is invalid"); in GetNumSupportedHardwareWatchpoints()
1210 SBProcess::LoadImage (lldb::SBFileSpec &sb_image_spec, lldb::SBError &sb_error) in LoadImage() argument
1219 return process_sp->LoadImage (*sb_image_spec, sb_error.ref()); in LoadImage()
1226 sb_error.SetErrorString("process is running"); in LoadImage()
1235 lldb::SBError sb_error; in UnloadImage() local
1243 sb_error.SetError (process_sp->UnloadImage (image_token)); in UnloadImage()
1250 sb_error.SetErrorString("process is running"); in UnloadImage()
1254 sb_error.SetErrorString("invalid process"); in UnloadImage()
1255 return sb_error; in UnloadImage()