48{
50
51 if (CommandTokens.size() != 1 && CommandTokens.size() != 2)
52 {
53 ShowMessages("incorrect use of the '%s'\n\n",
56 return;
57 }
58
59
60
61
63 {
64 ShowMessages("err, you're not connected to any debuggee\n");
65 return;
66 }
67
68 if (CommandTokens.size() == 1)
69 {
71 }
72 else if (CommandTokens.size() == 2)
73 {
75 {
76 ShowMessages("please specify a correct hex value for the core that you "
77 "want to operate on it\n\n");
79 return;
80 }
81
82
83
84
86 }
87}
BOOLEAN g_IsSerialConnectedToRemoteDebuggee
Shows if the debugger was connected to remote debuggee over (A remote guest).
Definition globals.h:253
std::string GetCaseSensitiveStringFromCommandToken(CommandToken TargetToken)
Get case sensitive string from command token.
Definition common.cpp:467
BOOLEAN ConvertTokenToUInt32(CommandToken TargetToken, PUINT32 Result)
check and convert command token to a 32 bit unsigned integer
Definition common.cpp:546
ULONG g_CurrentRemoteCore
Current core that the debuggee is debugging.
Definition globals.h:285
VOID CommandCoreHelp()
help of the ~ command
Definition core.cpp:26
BOOLEAN KdSendSwitchCorePacketToDebuggee(UINT32 NewCore)
Sends a change core or '~ x' command packet to the debuggee.
Definition kd.cpp:181