X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=action.cc;h=44a6d9ad6948c116e3305bd955e204825f01bc96;hb=a2176c7545c29b28598bb252718cf080a3463665;hp=ca1285612b00c75fd7294bee5af80d3aa52a3468;hpb=b2079b62d3578a75e342c012716aa214e3228d42;p=model-checker.git diff --git a/action.cc b/action.cc index ca12856..44a6d9a 100644 --- a/action.cc +++ b/action.cc @@ -409,16 +409,19 @@ void ModelAction::print() const break; } - printf("(%3d) Thread: %-2d Action: %-13s MO: %7s Loc: %14p Value: %-12" PRIu64, + printf("(%4d) Thread: %-2d Action: %-13s MO: %7s Loc: %14p Value: %-#18" PRIx64, seq_number, id_to_int(tid), type_str, mo_str, location, valuetoprint); if (is_read()) { if (reads_from) - printf(" Rf: %d", reads_from->get_seq_number()); + printf(" Rf: %-3d", reads_from->get_seq_number()); else - printf(" Rf: ?"); + printf(" Rf: ? "); } if (cv) { - printf("\t"); + if (is_read()) + printf(" "); + else + printf(" "); cv->print(); } else printf("\n");