提交 117d9458 编写于 作者: D Derek Parker

Use curpc for ret offset

上级 1d99e03f
......@@ -181,7 +181,7 @@ func (thread *ThreadContext) Next() (err error) {
continue
}
if !fde.Cover(pc) {
pc = thread.ReturnAddressFromOffset(fde.ReturnAddressOffset(pc))
pc = thread.ReturnAddressFromOffset(fde.ReturnAddressOffset(curpc))
}
bp, err := thread.Process.Break(pc)
if err != nil {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册