Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
ebec9917
Commit
ebec9917
authored
Jul 29, 2008
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a comment
fix a register name R=gri OCL=13548 CL=13548
parent
e06d1540
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
src/runtime/rt1_amd64_linux.c
src/runtime/rt1_amd64_linux.c
+1
-1
src/syscall/syscall.go
src/syscall/syscall.go
+1
-4
No files found.
src/runtime/rt1_amd64_linux.c
View file @
ebec9917
...
...
@@ -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
();
...
...
src/syscall/syscall.go
View file @
ebec9917
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment