Cosmetics.
This commit is contained in:
parent
434466c8e2
commit
a59324db91
|
@ -843,7 +843,7 @@ int DEBUG_main(int argc, char** argv)
|
||||||
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), pos);
|
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG_Printf(DBG_CHN_MESG, "Starting WineDbg... ");
|
DEBUG_Printf(DBG_CHN_MESG, "WineDbg starting... ");
|
||||||
|
|
||||||
if (argc == 3) {
|
if (argc == 3) {
|
||||||
HANDLE hEvent;
|
HANDLE hEvent;
|
||||||
|
|
|
@ -275,9 +275,11 @@ static ULONG WINAPI IMalloc_fnRelease(LPMALLOC iface) {
|
||||||
* IMalloc32_Alloc [VTABLE]
|
* IMalloc32_Alloc [VTABLE]
|
||||||
*/
|
*/
|
||||||
static LPVOID WINAPI IMalloc_fnAlloc(LPMALLOC iface,DWORD cb) {
|
static LPVOID WINAPI IMalloc_fnAlloc(LPMALLOC iface,DWORD cb) {
|
||||||
|
LPVOID addr;
|
||||||
ICOM_THIS(IMalloc32Impl,iface);
|
ICOM_THIS(IMalloc32Impl,iface);
|
||||||
TRACE("(%p)->Alloc(%ld)\n",This,cb);
|
addr = HeapAlloc(GetProcessHeap(),0,cb);
|
||||||
return HeapAlloc(GetProcessHeap(),0,cb);
|
TRACE("(%p)->Alloc(%ld) -> %p\n",This,cb,addr);
|
||||||
|
return addr;
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|
|
@ -436,7 +436,7 @@ static void DOSMEM_InitMemory(void)
|
||||||
dm->size = DM_BLOCK_TERMINAL;
|
dm->size = DM_BLOCK_TERMINAL;
|
||||||
root_block->size |= DM_BLOCK_FREE
|
root_block->size |= DM_BLOCK_FREE
|
||||||
#ifdef __DOSMEM_DEBUG__
|
#ifdef __DOSMEM_DEBUG__
|
||||||
| DM_BLOCK_DEBUG;
|
| DM_BLOCK_DEBUG
|
||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
|
@ -348,7 +348,7 @@ static void start_process(void)
|
||||||
/* Call UserSignalProc ( USIG_PROCESS_RUNNING ... ) only for non-GUI win32 apps */
|
/* Call UserSignalProc ( USIG_PROCESS_RUNNING ... ) only for non-GUI win32 apps */
|
||||||
if (console_app) PROCESS_CallUserSignalProc( USIG_PROCESS_RUNNING, 0 );
|
if (console_app) PROCESS_CallUserSignalProc( USIG_PROCESS_RUNNING, 0 );
|
||||||
|
|
||||||
TRACE_(relay)( "Starting Win32 process (entryproc=%p)\n", entry );
|
TRACE_(relay)( "Starting Win32 process %s (entryproc=%p)\n", current_process.exe_modref->filename, entry );
|
||||||
if (debugged) DbgBreakPoint();
|
if (debugged) DbgBreakPoint();
|
||||||
/* FIXME: should use _PEB as parameter for NT 3.5 programs !
|
/* FIXME: should use _PEB as parameter for NT 3.5 programs !
|
||||||
* Dunno about other OSs */
|
* Dunno about other OSs */
|
||||||
|
|
|
@ -108,7 +108,7 @@ static HANDLE CURSORICON_FindSharedIcon( HMODULE hModule, HRSRC hRsrc )
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
* CURSORICON_FindCache
|
* CURSORICON_FindCache
|
||||||
*
|
*
|
||||||
* Given a handle, find the coresponding cache element
|
* Given a handle, find the corresponding cache element
|
||||||
*
|
*
|
||||||
* PARAMS
|
* PARAMS
|
||||||
* Handle [I] handle to an Image
|
* Handle [I] handle to an Image
|
||||||
|
|
|
@ -861,7 +861,7 @@ HDRVR WINAPI OpenDriverA(LPCSTR lpDriverName, LPCSTR lpSectionName, LPARAM lPara
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!hDriver)
|
if (!hDriver)
|
||||||
ERR("Failed to open driver %s from section %s\n", lpDriverName, lpSectionName);
|
ERR("Failed to open driver %s from system.ini file, section %s\n", lpDriverName, lpSectionName);
|
||||||
else
|
else
|
||||||
TRACE("=> %08x\n", hDriver);
|
TRACE("=> %08x\n", hDriver);
|
||||||
return hDriver;
|
return hDriver;
|
||||||
|
|
Loading…
Reference in New Issue