summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2011-04-15 10:44:15 -0700
committerNathan Binkert <nate@binkert.org>2011-04-15 10:44:15 -0700
commitf946d7bcdb4d0b4327857d319dd4ecdd1c320d62 (patch)
treeac1507e1c495e3a86ea43ea1249121ab1e591715 /src/sim
parentbbb1392c088f8c41e7e438380f5b5358c41c178a (diff)
downloadgem5-f946d7bcdb4d0b4327857d319dd4ecdd1c320d62.tar.xz
debug: create a Debug namespace
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/debug.cc4
-rw-r--r--src/sim/pseudo_inst.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/sim/debug.cc b/src/sim/debug.cc
index f8a3215d0..e866c13e7 100644
--- a/src/sim/debug.cc
+++ b/src/sim/debug.cc
@@ -67,14 +67,14 @@ DebugBreakEvent::DebugBreakEvent()
void
DebugBreakEvent::process()
{
- debug_break();
+ Debug::breakpoint();
}
const char *
DebugBreakEvent::description() const
{
- return "debug break";
+ return "debug breakpoint";
}
//
diff --git a/src/sim/pseudo_inst.cc b/src/sim/pseudo_inst.cc
index 65dd7a1a1..3b78cc1ee 100644
--- a/src/sim/pseudo_inst.cc
+++ b/src/sim/pseudo_inst.cc
@@ -353,7 +353,7 @@ readfile(ThreadContext *tc, Addr vaddr, uint64_t len, uint64_t offset)
void
debugbreak(ThreadContext *tc)
{
- debug_break();
+ Debug::breakpoint();
}
void