MCPcopy Create free account
hub / github.com/SamoZ256/hydra / GetThreadStatus

Method GetThreadStatus

src/core/debugger/gdb_server.cpp:778–785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

776}
777
778std::string GdbServer::GetThreadStatus(horizon::kernel::GuestThread* thread,
779 Signal signal) {
780 const auto& state = thread->GetThread()->GetState();
781 return fmt::format("T{:02x}{:02x}:{};{:02x}:{};{:02x}:{};thread:{:x};",
782 static_cast<u8>(signal), PC_REGISTER, state.pc,
783 SP_REGISTER, state.sp, LR_REGISTER, state.lr,
784 GET_THREAD_ID(thread));
785}
786
787std::string GdbServer::PageFromBuffer(std::string_view buffer,
788 std::string_view page) {

Callers

nothing calls this directly

Calls 1

GetStateMethod · 0.45

Tested by

no test coverage detected