summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tester/covoar/ReportsText.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/tester/covoar/ReportsText.cc b/tester/covoar/ReportsText.cc
index 146fc35..c4a5dbc 100644
--- a/tester/covoar/ReportsText.cc
+++ b/tester/covoar/ReportsText.cc
@@ -10,6 +10,9 @@
#include "Explanations.h"
#include "ObjdumpProcessor.h"
+#include <rtems-utils.h>
+
+typedef rtems::utils::ostream_guard ostream_guard;
namespace Coverage {
@@ -145,6 +148,8 @@ bool ReportsText::PutCoverageLine(
{
const Coverage::Explanation* explanation;
+ ostream_guard oldState( report );
+
report << "============================================" << std::endl
<< "Index : " << range.id << std::endl
<< "Symbol : " << symbolName