winedbg: Fixed debugging of thread ids in the gdb proxy

David Welch welch at cwcom.net
Mon May 23 18:26:36 CDT 2005


Changelog:
	Fix decoding of thread IDs in the gdbproxy.
-------------- next part --------------
Index: gdbproxy.c
===================================================================
RCS file: /home/wine/wine/programs/winedbg/gdbproxy.c,v
retrieving revision 1.22
diff -u -p -r1.22 gdbproxy.c
--- gdbproxy.c	10 Feb 2005 21:18:12 -0000	1.22
+++ gdbproxy.c	23 May 2005 23:11:45 -0000
@@ -126,7 +126,8 @@ static inline unsigned char hex_to0(int 
 static int hex_to_int(const char* src, size_t len){
     unsigned int returnval = 0;
     while (len--){
-        returnval=hex_from0(src[0]);
+        returnval|=hex_from0(src[0]);
+        src++;
         if(len) returnval<<=4;
     }
     return returnval;


More information about the wine-patches mailing list