diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2023-04-16 06:43:50 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2023-04-16 06:43:50 +0000 |
commit | 6ad198c72fbbeac62990555c75b572f24ef33cb2 (patch) | |
tree | ea2cd6a690b2ccccfd7fe16d1fd18bab29bd66b9 /sys/arch/amd64 | |
parent | 9c1f3786169d267f1995e6b69aad63078f15f8af (diff) |
call default db_ktrap() with tf_err, not 0 for exception error code
ok guenther@
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r-- | sys/arch/amd64/amd64/trap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/trap.c b/sys/arch/amd64/amd64/trap.c index 8c9abf64bd7..6069cf3b6aa 100644 --- a/sys/arch/amd64/amd64/trap.c +++ b/sys/arch/amd64/amd64/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.99 2023/04/16 06:38:50 guenther Exp $ */ +/* $OpenBSD: trap.c,v 1.100 2023/04/16 06:43:49 jsg Exp $ */ /* $NetBSD: trap.c,v 1.2 2003/05/04 23:51:56 fvdl Exp $ */ /*- @@ -329,7 +329,7 @@ kerntrap(struct trapframe *frame) default: we_re_toast: #ifdef DDB - if (db_ktrap(type, 0, frame)) + if (db_ktrap(type, frame->tf_err, frame)) return; #endif trap_print(frame, type); |