aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2004-09-26 06:48:59 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2004-09-26 06:48:59 +0000
commite6aa7232124276003e5786f4ff7420115bbb36a3 (patch)
treed6d173413c8785586c7f5373cb7161fa495a3710
parentbd64f29b37353a0e8c131a76eaa6e512ec60c262 (diff)
Notes
-rw-r--r--sys/kern/subr_kdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_kdb.c b/sys/kern/subr_kdb.c
index 193694fc97ad..9b48d098060d 100644
--- a/sys/kern/subr_kdb.c
+++ b/sys/kern/subr_kdb.c
@@ -408,10 +408,11 @@ kdb_trap(int type, int code, struct trapframe *tf)
stop_cpus(PCPU_GET(other_cpus));
#endif
+ kdb_frame = tf;
+
/* Let MD code do its thing first... */
kdb_cpu_trap(type, code);
- kdb_frame = tf;
makectx(tf, &kdb_pcb);
kdb_thr_select(curthread);