提交 6363ce10 编写于 作者: D Derek Parker

Add comments for PC reset code

上级 5c301dd9
...@@ -276,6 +276,8 @@ func (dbp *DebuggedProcess) Next() error { ...@@ -276,6 +276,8 @@ func (dbp *DebuggedProcess) Next() error {
} }
if _, ok := dbp.BreakPoints[pc-1]; ok { if _, ok := dbp.BreakPoints[pc-1]; ok {
// Decrement the PC to be before
// the breakpoint instruction.
pc-- pc--
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册