Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(73)

Delta Between Two Patch Sets: src/pkg/runtime/signal_darwin_amd64.c

Issue 5490053: code review 5490053: runtime: make more build-friendly (Closed)
Left Patch Set: diff -r 4bd43e05039c https://go.googlecode.com/hg/ Created 13 years, 3 months ago
Right Patch Set: diff -r 046739c8299b https://go.googlecode.com/hg/ Created 13 years, 3 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/runtime/signal_darwin_386.c ('k') | src/pkg/runtime/signal_freebsd_386.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 #include "runtime.h" 5 #include "runtime.h"
6 #include "defs.h" 6 #include "defs_GOOS_GOARCH.h"
7 #include "os.h" 7 #include "os_GOOS.h"
8 #include "signals.h" 8 #include "signals_GOOS.h"
9 9
10 void 10 void
11 runtime·dumpregs(Regs64 *r) 11 runtime·dumpregs(Regs64 *r)
12 { 12 {
13 runtime·printf("rax %X\n", r->rax); 13 runtime·printf("rax %X\n", r->rax);
14 runtime·printf("rbx %X\n", r->rbx); 14 runtime·printf("rbx %X\n", r->rbx);
15 runtime·printf("rcx %X\n", r->rcx); 15 runtime·printf("rcx %X\n", r->rcx);
16 runtime·printf("rdx %X\n", r->rdx); 16 runtime·printf("rdx %X\n", r->rdx);
17 runtime·printf("rdi %X\n", r->rdi); 17 runtime·printf("rdi %X\n", r->rdi);
18 runtime·printf("rsi %X\n", r->rsi); 18 runtime·printf("rsi %X\n", r->rsi);
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 } 195 }
196 m->profilehz = hz; 196 m->profilehz = hz;
197 } 197 }
198 198
199 void 199 void
200 os·sigpipe(void) 200 os·sigpipe(void)
201 { 201 {
202 sigaction(SIGPIPE, SIG_DFL, false); 202 sigaction(SIGPIPE, SIG_DFL, false);
203 runtime·raisesigpipe(); 203 runtime·raisesigpipe();
204 } 204 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b