aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2006-12-23 01:11:13 +0000
committerDavid Xu <davidxu@FreeBSD.org>2006-12-23 01:11:13 +0000
commit852712a0862c2a27ecfb01b7bd67c46aef4d6e5b (patch)
tree22ea3173ccf6a7437f2a6acadc05d6c5da892880
parentcc0f33fe0aa00181bc5936e51f04e1f36d5db802 (diff)
downloadsrc-852712a0862c2a27ecfb01b7bd67c46aef4d6e5b.tar.gz
src-852712a0862c2a27ecfb01b7bd67c46aef4d6e5b.zip
Notes
-rw-r--r--sys/amd64/amd64/machdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index 6acdffb6e0da..cb0fc8549f6e 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -305,6 +305,7 @@ sendsig(catcher, sig, mask, code)
/* Fill in POSIX parts */
sf.sf_si.si_signo = sig;
sf.sf_si.si_code = code;
+ sf.sf_si.si_addr = (void *)regs->tf_addr;
regs->tf_rcx = regs->tf_addr; /* arg 4 in %rcx */
} else {
/* Old FreeBSD-style arguments. */