From b83d3e897069d926cabec120e1086d29ef50e1d3 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Mon, 16 Aug 2010 00:13:23 +0000 Subject: [PATCH] make memory breakpoints log the PC when hit. if the PC makes no sense, it's probably because some HLE has done the access. perhaps we should wrap accesses from IOS HLE, so that we can trace it? dunno if it presents that much of a problem anymore. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6098 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/BreakPoints.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/Common/Src/BreakPoints.cpp b/Source/Core/Common/Src/BreakPoints.cpp index 8857afcecc..4a0956b8e2 100644 --- a/Source/Core/Common/Src/BreakPoints.cpp +++ b/Source/Core/Common/Src/BreakPoints.cpp @@ -26,9 +26,9 @@ void TMemCheck::Action(DebugInterface *debug_interface, u32 iValue, u32 addr, bo { if (Log) { - DEBUG_LOG(MEMMAP, "CHK %08x %s%i at %08x (%s)", - iValue, write ? "Write" : "Read", // read or write - size*8, addr, // address + DEBUG_LOG(MEMMAP, "CHK %08x %s%i %08x at %08x (%s)", + debug_interface->getPC(), + write ? "Write" : "Read", size*8, iValue, addr, // address debug_interface->getDescription(addr).c_str() // symbol map description ); }