André Hentschel : kernel32: Make process traces aware of 64-bit.
Alexandre Julliard
julliard at winehq.org
Thu Mar 25 11:44:46 CDT 2010
Module: wine
Branch: master
Commit: a9a7d963c2c3c9c80b0267ce5872a61d225074e4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a9a7d963c2c3c9c80b0267ce5872a61d225074e4
Author: André Hentschel <nerv at dawncrow.de>
Date: Thu Mar 25 14:47:38 2010 +0100
kernel32: Make process traces aware of 64-bit.
---
dlls/kernel32/process.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index 115cd05..30e7ca4 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -2058,8 +2058,9 @@ BOOL WINAPI DECLSPEC_HOTPATCH CreateProcessW( LPCWSTR app_name, LPWSTR cmd_line,
else switch (binary_info.type)
{
case BINARY_PE:
- TRACE( "starting %s as Win32 binary (%p-%p)\n",
- debugstr_w(name), binary_info.res_start, binary_info.res_end );
+ TRACE( "starting %s as Win%d binary (%p-%p)\n",
+ debugstr_w(name), (binary_info.flags & BINARY_FLAG_64BIT) ? 64 : 32,
+ binary_info.res_start, binary_info.res_end );
retv = create_process( hFile, name, tidy_cmdline, envW, cur_dir, process_attr, thread_attr,
inherit, flags, startup_info, info, unixdir, &binary_info, FALSE );
break;
@@ -2146,8 +2147,9 @@ static void exec_process( LPCWSTR name )
switch (binary_info.type)
{
case BINARY_PE:
- TRACE( "starting %s as Win32 binary (%p-%p)\n",
- debugstr_w(name), binary_info.res_start, binary_info.res_end );
+ TRACE( "starting %s as Win%d binary (%p-%p)\n",
+ debugstr_w(name), (binary_info.flags & BINARY_FLAG_64BIT) ? 64 : 32,
+ binary_info.res_start, binary_info.res_end );
create_process( hFile, name, GetCommandLineW(), NULL, NULL, NULL, NULL,
FALSE, 0, &startup_info, &info, NULL, &binary_info, TRUE );
break;
More information about the wine-cvs
mailing list