model: remove DEBUG action print
[c11tester.git] / model.cc
index cbd5617d8238f9326720fbcfb7dfb9c08864b6e3..29b88c1171aa1873d34b98a19dad43c0b6c6a035 100644 (file)
--- a/model.cc
+++ b/model.cc
@@ -1500,8 +1500,6 @@ ModelAction * ModelChecker::check_current_action(ModelAction *curr)
        bool newly_explored = initialize_curr_action(&curr);
 
        DBG();
-       if (DBG_ENABLED())
-               curr->print();
 
        wake_up_sleeping_actions(curr);
 
@@ -3128,7 +3126,7 @@ void ModelChecker::run()
                                if (!thr->is_model_thread() && !thr->is_complete() && !thr->get_pending()) {
                                        switch_from_master(thr);
                                        if (thr->is_waiting_on(thr))
-                                               assert_bug("Deadlock detected");
+                                               assert_bug("Deadlock detected (thread %u)", i);
                                }
                        }