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
eb80431b
Commit
eb80431b
authored
Mar 14, 2013
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runtime: fix netbsd after reorg (again)
R=golang-dev CC=golang-dev
https://golang.org/cl/7719046
parent
214c1784
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
src/pkg/runtime/signal_netbsd_386.h
src/pkg/runtime/signal_netbsd_386.h
+1
-1
src/pkg/runtime/signal_netbsd_amd64.h
src/pkg/runtime/signal_netbsd_amd64.h
+1
-1
src/pkg/runtime/signal_netbsd_arm.h
src/pkg/runtime/signal_netbsd_arm.h
+1
-1
No files found.
src/pkg/runtime/signal_netbsd_386.h
View file @
eb80431b
...
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#define SIG_REGS(ctxt) (
*((Sigcontext*)&((Ucontext*)(ctxt))->uc_mcontext)
)
#define SIG_REGS(ctxt) (
((Ucontext*)(ctxt))->uc_mcontext
)
#define SIG_EAX(info, ctxt) (SIG_REGS(ctxt).__gregs[REG_EAX])
#define SIG_EBX(info, ctxt) (SIG_REGS(ctxt).__gregs[REG_EBX])
...
...
src/pkg/runtime/signal_netbsd_amd64.h
View file @
eb80431b
...
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#define SIG_REGS(ctxt) (
*((Sigcontext*)&((Ucontext*)(ctxt))->uc_mcontext)
)
#define SIG_REGS(ctxt) (
((Ucontext*)(ctxt))->uc_mcontext
)
#define SIG_RAX(info, ctxt) (SIG_REGS(ctxt).__gregs[REG_RAX])
#define SIG_RBX(info, ctxt) (SIG_REGS(ctxt).__gregs[REG_RBX])
...
...
src/pkg/runtime/signal_netbsd_arm.h
View file @
eb80431b
...
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#define SIG_REGS(ctxt) (
*((Sigcontext*)&((Ucontext*)(ctxt))->uc_mcontext)
)
#define SIG_REGS(ctxt) (
((Ucontext*)(ctxt))->uc_mcontext
)
#define SIG_R0(info, ctxt) (SIG_REGS(ctxt).__gregs[0])
#define SIG_R1(info, ctxt) (SIG_REGS(ctxt).__gregs[1])
...
...
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