mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 04:37:15 +00:00
- Make symdump and ctm msvc-aware
svn path=/trunk/; revision=42367
This commit is contained in:
parent
c9e1afaeda
commit
bab8a60b46
2 changed files with 3 additions and 3 deletions
|
@ -807,6 +807,7 @@ DumpParams(PSYMBOL_INFO pSymInfo, PENUMINFO pei)
|
||||||
{
|
{
|
||||||
IMAGEHLP_STACK_FRAME sf;
|
IMAGEHLP_STACK_FRAME sf;
|
||||||
BOOL bRet;
|
BOOL bRet;
|
||||||
|
INT NumLocals = 0; // the number of local variables found
|
||||||
|
|
||||||
sf.InstructionOffset = pSymInfo->Address;
|
sf.InstructionOffset = pSymInfo->Address;
|
||||||
|
|
||||||
|
@ -822,8 +823,6 @@ DumpParams(PSYMBOL_INFO pSymInfo, PENUMINFO pei)
|
||||||
|
|
||||||
// Enumerate local variables
|
// Enumerate local variables
|
||||||
|
|
||||||
INT NumLocals = 0; // the number of local variables found
|
|
||||||
|
|
||||||
bRet = SymEnumSymbols(pei->hProcess, 0, 0, EnumParamsProc, &NumLocals);
|
bRet = SymEnumSymbols(pei->hProcess, 0, 0, EnumParamsProc, &NumLocals);
|
||||||
|
|
||||||
if (!bRet)
|
if (!bRet)
|
||||||
|
|
|
@ -277,10 +277,11 @@ void DisplayScreen()
|
||||||
int ProcessKeys(int numEvents)
|
int ProcessKeys(int numEvents)
|
||||||
{
|
{
|
||||||
DWORD numChars;
|
DWORD numChars;
|
||||||
|
TCHAR key;
|
||||||
if ((ProcessCount-scrolled < 17) && (ProcessCount > 17))
|
if ((ProcessCount-scrolled < 17) && (ProcessCount > 17))
|
||||||
scrolled = ProcessCount-17;
|
scrolled = ProcessCount-17;
|
||||||
|
|
||||||
TCHAR key = GetKeyPressed(numEvents);
|
key = GetKeyPressed(numEvents);
|
||||||
if (key == KEY_QUIT)
|
if (key == KEY_QUIT)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
else if (key == KEY_KILL)
|
else if (key == KEY_KILL)
|
||||||
|
|
Loading…
Reference in a new issue