X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8ad349bb6ed4a0be06e34c92be0d98b92e078db4..5d5c5d0d5b79ade9a973d55186ffda2638ba2b6e:/osfmk/ddb/db_trap.c diff --git a/osfmk/ddb/db_trap.c b/osfmk/ddb/db_trap.c index c1b5d0870..0ec823a6e 100644 --- a/osfmk/ddb/db_trap.c +++ b/osfmk/ddb/db_trap.c @@ -72,7 +72,7 @@ #include #include #include -#include /* For db_printf() */ +#include /* For db_printf() */ #include #include #include @@ -107,8 +107,16 @@ db_task_trap( * but print symbols using a (task-specific) symbol table, found * using task. */ + + /* Elided since walking the thread/task lists before setting up + * safe recovery points is incorrect, and could + * potentially cause us to loop and fault indefinitely. + */ +#if 0 db_init_default_act(); +#endif db_check_breakpoint_valid(); + if (db_stop_at_pc(&bkpt, task, task_space)) { if (db_inst_count) { db_printf("After %d instructions (%d loads, %d stores),\n",