Commit ad21db2e authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: Don't use dbghelp_current_cpu.

It's bound to debugger's CPU not debuggee's. Signed-off-by: 's avatarEric Pouech <eric.pouech@gmail.com>
parent 85fb74a6
......@@ -2862,7 +2862,7 @@ static void pdb_location_compute(struct process* pcs,
case S_DEFRANGE_FRAMEPOINTER_REL:
case S_DEFRANGE_FRAMEPOINTER_REL_FULL_SCOPE:
loc->kind = loc_regrel;
loc->reg = dbghelp_current_cpu->frame_regno;
loc->reg = modfmt->module->cpu->frame_regno;
loc->offset = locinfo->offset;
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment