Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178242562
D13212.1796321255.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D13212.1796321255.diff
View Options
Index: head/sys/ddb/db_command.c
===================================================================
--- head/sys/ddb/db_command.c
+++ head/sys/ddb/db_command.c
@@ -556,7 +556,7 @@
if (s)
db_printf("%s", s);
db_flush_lex();
- kdb_reenter();
+ kdb_reenter_silent();
}
static void
Index: head/sys/kern/subr_kdb.c
===================================================================
--- head/sys/kern/subr_kdb.c
+++ head/sys/kern/subr_kdb.c
@@ -509,6 +509,17 @@
/* NOTREACHED */
}
+void
+kdb_reenter_silent(void)
+{
+
+ if (!kdb_active || kdb_jmpbufp == NULL)
+ return;
+
+ longjmp(kdb_jmpbufp, 1);
+ /* NOTREACHED */
+}
+
/*
* Thread related support functions.
*/
Index: head/sys/sys/kdb.h
===================================================================
--- head/sys/sys/kdb.h
+++ head/sys/sys/kdb.h
@@ -80,6 +80,7 @@
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);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 3, 6:07 PM (6 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42187810
Default Alt Text
D13212.1796321255.diff (1 KB)
Attached To
Mode
D13212: Unclutter ddb(4) error handling
Attached
Detach File
Event Timeline