Made "Wine-dbg>set *seg:off = val" work (previously only

"Wine-dbg>set *off = val" worked).
This commit is contained in:
Ove Kaaven 1999-05-17 15:53:49 +00:00 committed by Alexandre Julliard
parent f7f9508b13
commit 42751a3e58

View File

@ -625,7 +625,7 @@ DEBUG_EvalExpr(struct expr * exp)
rtn.off = (unsigned int) DEBUG_TypeDerefPointer(&exp1, &rtn.type); rtn.off = (unsigned int) DEBUG_TypeDerefPointer(&exp1, &rtn.type);
break; break;
case EXP_OP_FORCE_DEREF: case EXP_OP_FORCE_DEREF:
rtn.seg = 0; rtn.seg = exp1.seg;
rtn.off = *(unsigned int *) exp1.off; rtn.off = *(unsigned int *) exp1.off;
break; break;
case EXP_OP_ADDR: case EXP_OP_ADDR: