diff options
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 |