Alexandre Julliard : ntdll: Display write watch status in virtual traces.

Alexandre Julliard julliard at winehq.org
Thu Jul 9 10:57:03 CDT 2009


Module: wine
Branch: master
Commit: 58afa8acebe96197e02b65d75b2d51586258735c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=58afa8acebe96197e02b65d75b2d51586258735c

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Jul  9 15:21:59 2009 +0200

ntdll: Display write watch status in virtual traces.

---

 dlls/ntdll/virtual.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/virtual.c b/dlls/ntdll/virtual.c
index 6ce5331..32e7d93 100644
--- a/dlls/ntdll/virtual.c
+++ b/dlls/ntdll/virtual.c
@@ -156,7 +156,7 @@ static const char *VIRTUAL_GetProtStr( BYTE prot )
 {
     static char buffer[6];
     buffer[0] = (prot & VPROT_COMMITTED) ? 'c' : '-';
-    buffer[1] = (prot & VPROT_GUARD) ? 'g' : '-';
+    buffer[1] = (prot & VPROT_GUARD) ? 'g' : ((prot & VPROT_WRITEWATCH) ? 'H' : '-');
     buffer[2] = (prot & VPROT_READ) ? 'r' : '-';
     buffer[3] = (prot & VPROT_WRITECOPY) ? 'W' : ((prot & VPROT_WRITE) ? 'w' : '-');
     buffer[4] = (prot & VPROT_EXEC) ? 'x' : '-';




More information about the wine-cvs mailing list