Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/vax Set ksi_addr to frame->code.
details: https://anonhg.NetBSD.org/src/rev/3a39d71099fa
branches: trunk
changeset: 552666:3a39d71099fa
user: matt <matt%NetBSD.org@localhost>
date: Mon Sep 29 22:20:52 2003 +0000
description:
Set ksi_addr to frame->code.
diffstat:
sys/arch/vax/vax/trap.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 00621b50b09d -r 3a39d71099fa sys/arch/vax/vax/trap.c
--- a/sys/arch/vax/vax/trap.c Mon Sep 29 21:39:35 2003 +0000
+++ b/sys/arch/vax/vax/trap.c Mon Sep 29 22:20:52 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.83 2003/09/29 21:04:53 matt Exp $ */
+/* $NetBSD: trap.c,v 1.84 2003/09/29 22:20:52 matt Exp $ */
/*
* Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@@ -33,7 +33,7 @@
/* All bugs are subject to removal without further notice */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.83 2003/09/29 21:04:53 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.84 2003/09/29 22:20:52 matt Exp $");
#include "opt_ddb.h"
#include "opt_ktrace.h"
@@ -374,6 +374,7 @@
memset(&ksi, 0, sizeof(ksi));
ksi.ksi_signo = sig;
ksi.ksi_trap = frame->code;
+ ksi.ksi_addr = (void *)frame->code;
ksi.ksi_code = code;
trapsignal(l, &ksi);
KERNEL_PROC_UNLOCK(l);
Home |
Main Index |
Thread Index |
Old Index