1
0
mirror of https://github.com/golang/go synced 2024-11-12 04:00:23 -07:00

fix a comment

fix a register name

R=gri
OCL=13548
CL=13548
This commit is contained in:
Rob Pike 2008-07-29 15:17:27 -07:00
parent e06d1540c8
commit ebec99179f
2 changed files with 2 additions and 5 deletions

View File

@ -153,7 +153,7 @@ sighandler(int32 sig, siginfo* info, void** context)
prints("\n\n");
traceback((void *)sc->rip, (void *)sc->rsp, (void *)sc->r15);
tracebackothers((void*)sc->__r15);
tracebackothers((void*)sc->r15);
print_sigcontext(sc);
sys·breakpoint();

View File

@ -5,10 +5,7 @@
package syscall
/*
* These calls have signatures that are independent of operating system.
*
* For simplicity of addressing in assembler, all integers are 64 bits
* in these calling sequences (although it complicates some, such as pipe)
* Foundation of system call interface.
*/
func Syscall(trap int64, a1, a2, a3 int64) (r1, r2, err int64);