diff options
author | Nathan Binkert <nate@binkert.org> | 2011-04-15 10:44:15 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2011-04-15 10:44:15 -0700 |
commit | f946d7bcdb4d0b4327857d319dd4ecdd1c320d62 (patch) | |
tree | ac1507e1c495e3a86ea43ea1249121ab1e591715 /src/sim | |
parent | bbb1392c088f8c41e7e438380f5b5358c41c178a (diff) | |
download | gem5-f946d7bcdb4d0b4327857d319dd4ecdd1c320d62.tar.xz |
debug: create a Debug namespace
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/debug.cc | 4 | ||||
-rw-r--r-- | src/sim/pseudo_inst.cc | 2 |
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 |