提交 9bb8b8c9 编写于 作者: A aarzilli 提交者: Derek Parker

gdbserial: fix rr output parsing to support rr 5.1.0

上级 045763ef
......@@ -68,7 +68,7 @@ func Replay(tracedir string, quiet bool) (*Process, error) {
init := <-initch
if init.err != nil {
rrcmd.Process.Kill()
return nil, err
return nil, init.err
}
p := New(rrcmd.Process)
......@@ -142,7 +142,7 @@ func rrParseGdbCommand(line string) rrInit {
arg := fields[i+1]
if !strings.HasPrefix(arg, targetCmd) {
return rrInit{err: &ErrMalformedRRGdbCommand{line, "contents of -ex argument unexpected"}}
continue
}
port = arg[len(targetCmd):]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册