From f280e31671c6ec9fc78eccaf556515bc0fb35fba Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Sat, 19 Aug 2017 20:59:06 -0230 Subject: [PATCH] Printing of traps in debugger takes into account TIA read/write address. --- src/debugger/DebuggerParser.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/debugger/DebuggerParser.cxx b/src/debugger/DebuggerParser.cxx index f3f1f3d3e..134a15441 100644 --- a/src/debugger/DebuggerParser.cxx +++ b/src/debugger/DebuggerParser.cxx @@ -551,8 +551,7 @@ string DebuggerParser::trapStatus(uInt32 addr, bool& enabled) else result += "none"; - // TODO - technically, we should determine if the label is read or write - const string& l = debugger.cartDebug().getLabel(addr, true); + const string& l = debugger.cartDebug().getLabel(addr, !w); if(l != "") { result += " ("; result += l;