diff options
author | Russ Cox <rsc@golang.org> | 2014-11-20 11:48:08 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-11-20 11:48:08 -0500 |
commit | 4a674f45d109048fcef7cd9f2b876e270625c8ed (patch) | |
tree | 3015eab80ef343dda34fb968843c8b2d28987f05 /src/runtime/signal_freebsd_amd64.h | |
parent | fbd764146d71d8929edadc4abd51e89932742000 (diff) | |
parent | 1ac4b754e58ba42944de03808fb96210b065e4c4 (diff) | |
download | go-4a674f45d109048fcef7cd9f2b876e270625c8ed.tar.gz |
[dev.cc] all: merge default (e4ab8f908aac) into dev.cc
TBR=austin
CC=golang-codereviews
https://codereview.appspot.com/179040044
Diffstat (limited to 'src/runtime/signal_freebsd_amd64.h')
-rw-r--r-- | src/runtime/signal_freebsd_amd64.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/runtime/signal_freebsd_amd64.h b/src/runtime/signal_freebsd_amd64.h deleted file mode 100644 index 7d35b7f85..000000000 --- a/src/runtime/signal_freebsd_amd64.h +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2013 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -#define SIG_REGS(ctxt) (((Ucontext*)(ctxt))->uc_mcontext) - -#define SIG_RAX(info, ctxt) (SIG_REGS(ctxt).mc_rax) -#define SIG_RBX(info, ctxt) (SIG_REGS(ctxt).mc_rbx) -#define SIG_RCX(info, ctxt) (SIG_REGS(ctxt).mc_rcx) -#define SIG_RDX(info, ctxt) (SIG_REGS(ctxt).mc_rdx) -#define SIG_RDI(info, ctxt) (SIG_REGS(ctxt).mc_rdi) -#define SIG_RSI(info, ctxt) (SIG_REGS(ctxt).mc_rsi) -#define SIG_RBP(info, ctxt) (SIG_REGS(ctxt).mc_rbp) -#define SIG_RSP(info, ctxt) (SIG_REGS(ctxt).mc_rsp) -#define SIG_R8(info, ctxt) (SIG_REGS(ctxt).mc_r8) -#define SIG_R9(info, ctxt) (SIG_REGS(ctxt).mc_r9) -#define SIG_R10(info, ctxt) (SIG_REGS(ctxt).mc_r10) -#define SIG_R11(info, ctxt) (SIG_REGS(ctxt).mc_r11) -#define SIG_R12(info, ctxt) (SIG_REGS(ctxt).mc_r12) -#define SIG_R13(info, ctxt) (SIG_REGS(ctxt).mc_r13) -#define SIG_R14(info, ctxt) (SIG_REGS(ctxt).mc_r14) -#define SIG_R15(info, ctxt) (SIG_REGS(ctxt).mc_r15) -#define SIG_RIP(info, ctxt) (SIG_REGS(ctxt).mc_rip) -#define SIG_RFLAGS(info, ctxt) (SIG_REGS(ctxt).mc_rflags) - -#define SIG_CS(info, ctxt) (SIG_REGS(ctxt).mc_cs) -#define SIG_FS(info, ctxt) (SIG_REGS(ctxt).mc_fs) -#define SIG_GS(info, ctxt) (SIG_REGS(ctxt).mc_gs) - -#define SIG_CODE0(info, ctxt) ((info)->si_code) -#define SIG_CODE1(info, ctxt) ((uintptr)(info)->si_addr) |