Skip to content

Commit

Permalink
Merge pull request #4204 from Sonicadvance1/gdbserver_vkill
Browse files Browse the repository at this point in the history
GdbServer: Implement support for `$vKill`
  • Loading branch information
lioncash authored Dec 10, 2024
2 parents 5a4691f + 38cf357 commit 46fb858
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/Tools/LinuxEmulation/LinuxSyscalls/GdbServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,10 @@ GdbServer::HandledPacketType GdbServer::CommandMultiLetterV(const fextl::string&
return HandlevFile(packet);
}

// TODO: vKill
if (packet.starts_with("vKill")) {
tgkill(::getpid(), ::getpid(), SIGKILL);
}

// TODO: vRun
// TODO: vStopped

Expand Down

0 comments on commit 46fb858

Please sign in to comment.