mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
more lgtm files from gofmt
R=gri OCL=35485 CL=35488
This commit is contained in:
parent
8231548365
commit
094f1d5990
78 changed files with 1517 additions and 1441 deletions
|
|
@ -515,7 +515,7 @@ func (ev *debugEvent) doTrap() (threadState, os.Error) {
|
|||
return stopped, err;
|
||||
}
|
||||
|
||||
b, ok := t.proc.breakpoints[uintptr(regs.PC()) - uintptr(len(bpinst386))];
|
||||
b, ok := t.proc.breakpoints[uintptr(regs.PC())-uintptr(len(bpinst386))];
|
||||
if !ok {
|
||||
// We must have hit a breakpoint that was actually in
|
||||
// the program. Leave the IP where it is so we don't
|
||||
|
|
@ -1218,7 +1218,7 @@ func (p *process) attachAllThreads() os.Error {
|
|||
if err != nil {
|
||||
// There could have been a race, or
|
||||
// this process could be a zobmie.
|
||||
statFile, err2 := io.ReadFile(taskPath + "/" + tidStr + "/stat");
|
||||
statFile, err2 := io.ReadFile(taskPath+"/"+tidStr+"/stat");
|
||||
if err2 != nil {
|
||||
switch err2 := err2.(type) {
|
||||
case *os.PathError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue