summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorAndrew Bardsley <Andrew.Bardsley@arm.com>2014-09-12 10:22:47 -0400
committerAndrew Bardsley <Andrew.Bardsley@arm.com>2014-09-12 10:22:47 -0400
commitc8b919aba27a41adb7f75aeace358e4d31c47b76 (patch)
tree49f918dad678e83f7d04e58f20f863519d412f6f /src/sim
parent2b4906fc64984f9970186e6894f19f0f677a9fd4 (diff)
downloadgem5-c8b919aba27a41adb7f75aeace358e4d31c47b76.tar.xz
style: Fix line continuation, especially in debug messages
This patch closes a number of space gaps in debug messages caused by the incorrect use of line continuation within strings. (There's also one consistency change to a similar, but correct, use of line continuation)
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/stat_control.cc4
-rw-r--r--src/sim/system.cc7
2 files changed, 6 insertions, 5 deletions
diff --git a/src/sim/stat_control.cc b/src/sim/stat_control.cc
index 83089f399..75e717bfa 100644
--- a/src/sim/stat_control.cc
+++ b/src/sim/stat_control.cc
@@ -157,8 +157,8 @@ Global::Global()
finalTick
.functor(statFinalTick)
.name("final_tick")
- .desc("Number of ticks from beginning of simulation \
-(restored from checkpoints and never reset)")
+ .desc("Number of ticks from beginning of simulation "
+ "(restored from checkpoints and never reset)")
;
hostInstRate
diff --git a/src/sim/system.cc b/src/sim/system.cc
index cabb358b3..fe5be23dc 100644
--- a/src/sim/system.cc
+++ b/src/sim/system.cc
@@ -450,9 +450,10 @@ System::getMasterId(std::string master_name)
// Otherwise objects will have sized their stat buckets and
// they will be too small
- if (Stats::enabled())
- fatal("Can't request a masterId after regStats(). \
- You must do so in init().\n");
+ if (Stats::enabled()) {
+ fatal("Can't request a masterId after regStats(). "
+ "You must do so in init().\n");
+ }
masterIds.push_back(master_name);