summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Long <ryan.long@oarcorp.com>2021-08-11 16:16:34 -0400
committerJoel Sherrill <joel@rtems.org>2021-08-13 14:01:45 -0500
commit632414dc0f2976cc3ce0267d0c51aeb7c4de1e14 (patch)
treebf3140191c6f6f277ec4aa6f9a1a6868c9c598ba
parentGcovFunctionData.cc: Add ostream_guard (diff)
downloadrtems-tools-632414dc0f2976cc3ce0267d0c51aeb7c4de1e14.tar.bz2
ReportsText.cc: Add ostream_guard
CID 1505940: Not restoring ostream format Closes #4472
-rw-r--r--tester/covoar/ReportsText.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tester/covoar/ReportsText.cc b/tester/covoar/ReportsText.cc
index 40558d8..edf7984 100644
--- a/tester/covoar/ReportsText.cc
+++ b/tester/covoar/ReportsText.cc
@@ -221,6 +221,8 @@ bool ReportsText::PutSymbolSummaryLine(
float uncoveredBytes;
float uncoveredInstructions;
+ rtems::utils::ostream_guard old_state( report );
+
if ( symbolInfo.stats.sizeInBytes == 0 ) {
report << "============================================" << std::endl
<< "Symbol : " << symbolName << std::endl