summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2010-08-16 00:13:23 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2010-08-16 00:13:23 +0000
commitb83d3e897069d926cabec120e1086d29ef50e1d3 (patch)
tree0f7ab76c8eaf7952cc8014c4ad4ceeae38c11ede /Source/Core
parentdac266623609a6b54df36ea36aebe43b324979fe (diff)
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
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/Src/BreakPoints.cpp6
1 files 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
);
}