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
1 changed files with 1 additions and 1 deletions

View File

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