X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/21362eb3e66fd2c787aee132bce100a44d71a99c..4452a7af2eac33dbad800bcc91f2399d62c18f53:/osfmk/ddb/db_trap.c diff --git a/osfmk/ddb/db_trap.c b/osfmk/ddb/db_trap.c index 3ad99f7da..642fedd39 100644 --- a/osfmk/ddb/db_trap.c +++ b/osfmk/ddb/db_trap.c @@ -70,7 +70,7 @@ #include #include #include -#include /* For db_printf() */ +#include /* For db_printf() */ #include #include #include @@ -105,8 +105,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",