winedbg fix: p &foo
eric pouech
eric.pouech at wanadoo.fr
Fri Apr 20 14:12:11 CDT 2001
trying to print the address of a variable in the debugger fails
this patch fixes it
A+
--
---------------
Eric Pouech (http://perso.wanadoo.fr/eric.pouech/)
"The future will be better tomorrow", Vice President Dan Quayle
-------------- next part --------------
Name: wdbg_expr
ChangeLog: Fixed getting a variable address
GenDate: 2001/04/20 19:05:08 UTC
ModifiedFiles: debugger/expr.c
AddedFiles:
===================================================================
RCS file: /usr/share/cvs/cvsroot/wine/wine/debugger/expr.c,v
retrieving revision 1.21
diff -u -u -r1.21 expr.c
--- debugger/expr.c 2001/01/15 20:09:09 1.21
+++ debugger/expr.c 2001/04/20 19:04:58
@@ -636,7 +636,6 @@
break;
case EXP_OP_ADDR:
/* FIXME: even for a 16 bit entity ? */
- rtn.cookie = DV_TARGET;
rtn.type = DEBUG_FindOrMakePointerType(exp1.type);
exp->un.unop.result = exp1.addr.off;
break;
More information about the wine-patches
mailing list