diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2013-11-01 11:56:13 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2013-11-01 11:56:13 -0400 |
commit | c9a8b7b14744a4a3f0745483d3536f48fd29ca61 (patch) | |
tree | 8e0b66282c4cddad067e8213f5af3ba1c9f03b93 /src/sim | |
parent | 3e6da89419e5d53dc8a0df446473a4f28808bc46 (diff) | |
download | gem5-c9a8b7b14744a4a3f0745483d3536f48fd29ca61.tar.xz |
sim: Clarify the difference between tracing and debugging
This patch changes the name the command-line options related to debug
output to all start with "debug" rather than being a mix of that and
"trace". It also makes it clear that the breakpoint time is specified
in ticks and not in cycles.
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/debug.cc | 2 | ||||
-rw-r--r-- | src/sim/debug.hh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/sim/debug.cc b/src/sim/debug.cc index 51b92740e..bfb28198d 100644 --- a/src/sim/debug.cc +++ b/src/sim/debug.cc @@ -82,7 +82,7 @@ DebugBreakEvent::description() const // (callable from debugger) // void -schedBreakCycle(Tick when) +schedBreak(Tick when) { mainEventQueue.schedule(new DebugBreakEvent, when); warn("need to stop all queues"); diff --git a/src/sim/debug.hh b/src/sim/debug.hh index bc1bb1e62..c29251a1e 100644 --- a/src/sim/debug.hh +++ b/src/sim/debug.hh @@ -40,9 +40,9 @@ /** Cause the simulator to execute a breakpoint - * @param when the cycle to break + * @param when the tick to break */ -void schedBreakCycle(Tick when); +void schedBreak(Tick when); /** Cause the simulator to return to python to create a checkpoint * @param when the cycle to break |