]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/ddb/db_trap.c
xnu-792.24.17.tar.gz
[apple/xnu.git] / osfmk / ddb / db_trap.c
index d95ff45360475bdc12f21ae61b1d70b9ba6309e6..59a007cdfdd3b3cf006cd8ff2413df8eb99e1d3d 100644 (file)
@@ -64,7 +64,7 @@
 #include <ddb/db_break.h>
 #include <ddb/db_command.h>
 #include <ddb/db_examine.h>
-#include <ddb/db_output.h>             /* For db_printf() */
+#include <ddb/db_output.h>             /* For db_printf() */
 #include <ddb/db_run.h>
 #include <ddb/db_task_thread.h>
 #include <ddb/db_trap.h>
@@ -99,16 +99,8 @@ 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",