summaryrefslogtreecommitdiff
path: root/src/sim/debug.cc
diff options
context:
space:
mode:
authorStephen Hines <hines@cs.fsu.edu>2008-02-06 16:32:40 -0500
committerStephen Hines <hines@cs.fsu.edu>2008-02-06 16:32:40 -0500
commit6cc1573923754ecb406d03ab4d807f928737c294 (patch)
tree08e407623fedf71b04b128eb93734d4f51988b36 /src/sim/debug.cc
parent0ccf9a2c3751f160d7d51153ef468a60b4daf8d0 (diff)
downloadgem5-6cc1573923754ecb406d03ab4d807f928737c294.tar.xz
Make the Event::description() a const function
--HG-- extra : convert_revision : c7768d54d3f78685e93920069f5485083ca989c0
Diffstat (limited to 'src/sim/debug.cc')
-rw-r--r--src/sim/debug.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sim/debug.cc b/src/sim/debug.cc
index c189117bd..b4f4cd9dc 100644
--- a/src/sim/debug.cc
+++ b/src/sim/debug.cc
@@ -63,7 +63,7 @@ class DebugBreakEvent : public Event
DebugBreakEvent(EventQueue *q, Tick _when);
void process(); // process event
- virtual const char *description();
+ virtual const char *description() const;
};
//
@@ -87,7 +87,7 @@ DebugBreakEvent::process()
const char *
-DebugBreakEvent::description()
+DebugBreakEvent::description() const
{
return "debug break";
}