Index: ddb/db_command.c =================================================================== RCS file: /cvsroot/src/sys/ddb/db_command.c,v retrieving revision 1.144 diff -p -u -r1.144 db_command.c --- ddb/db_command.c 8 Feb 2015 19:41:39 -0000 1.144 +++ ddb/db_command.c 15 May 2015 21:39:58 -0000 @@ -549,8 +549,13 @@ db_command_loop(void) db_recover = &db_jmpbuf; (void) setjmp(&db_jmpbuf); - /* Execute default ddb start commands */ - db_execute_commandlist(db_cmd_on_enter); + /* + * Execute default ddb start commands only if this is the + * first entry into DDB, in case the start commands fault + * and we recurse into here. + */ + if (!savejmp) + db_execute_commandlist(db_cmd_on_enter); (void) setjmp(&db_jmpbuf); while (!db_cmd_loop_done) {