aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/kdb.h
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2017-11-28 12:53:55 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2017-11-28 12:53:55 +0000
commit212ff84f4a0e7ebe6bb2a141e29e0e66556acce5 (patch)
tree24a952bda6deb118ec0bd766fdc257073727a06e /sys/sys/kdb.h
parentbe84f91cf4bf126f72771271e5ff462837d1bbd6 (diff)
downloadsrc-212ff84f4a0e7ebe6bb2a141e29e0e66556acce5.tar.gz
src-212ff84f4a0e7ebe6bb2a141e29e0e66556acce5.zip
Make kdb_reenter() silent when explicitly called from db_error().
This removes the useless backtrace on various ddb(4) user errors. Reviewed by: jhb@ Obtained from: CheriBSD MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D13212
Notes
Notes: svn path=/head/; revision=326314
Diffstat (limited to 'sys/sys/kdb.h')
-rw-r--r--sys/sys/kdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/kdb.h b/sys/sys/kdb.h
index d84b8b9956ff..d1f352fcb837 100644
--- a/sys/sys/kdb.h
+++ b/sys/sys/kdb.h
@@ -80,6 +80,7 @@ void * kdb_jmpbuf(jmp_buf);
void kdb_panic(const char *);
void kdb_reboot(void);
void kdb_reenter(void);
+void kdb_reenter_silent(void);
struct pcb *kdb_thr_ctx(struct thread *);
struct thread *kdb_thr_first(void);
struct thread *kdb_thr_from_pid(pid_t);