|
From: <sv...@va...> - 2007-10-29 14:17:13
|
Author: sewardj
Date: 2007-10-29 14:11:58 +0000 (Mon, 29 Oct 2007)
New Revision: 7048
Log:
Pretty up --trace-addr= --trace-level=2 output.
Modified:
branches/THRCHECK/thrcheck/tc_main.c
Modified: branches/THRCHECK/thrcheck/tc_main.c
===================================================================
--- branches/THRCHECK/thrcheck/tc_main.c 2007-10-28 14:54:49 UTC (rev 7047)
+++ branches/THRCHECK/thrcheck/tc_main.c 2007-10-29 14:11:58 UTC (rev 7048)
@@ -2902,6 +2902,7 @@
txt_new[sizeof(txt_new)-1] = 0;
if (clo_trace_level == 2) {
/* show everything */
+ VG_(message)(Vg_UserMsg, "");
announce_one_thread( thr_acc );
VG_(message)(Vg_UserMsg,
"TRACE: %p %s %d thr#%d :: %s --> %s",
@@ -2910,7 +2911,6 @@
if (tid != VG_INVALID_THREADID) {
VG_(get_and_pp_StackTrace)( tid, 8 );
}
- VG_(message)(Vg_UserMsg, "");
} else {
/* Just print one line */
VG_(message)(Vg_UserMsg,
|