From e03a51372741622fb6ebc6638ebbdf916daccc77 Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Thu, 16 Jul 2020 16:40:37 -0700 Subject: [PATCH] Add more debugging output when opcode tracing is enabled. modified: src/xc.c --- src/xc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xc.c b/src/xc.c index 9227cbb..10a7a12 100644 --- a/src/xc.c +++ b/src/xc.c @@ -293,7 +293,7 @@ nextopcode: #endif /* MYOPTRACE */ OPTPRINT( - ("PC= 0x%x op= 0%o TOS= 0x%x\n", (int)PCMAC, Get_BYTE_PCMAC0, TOPOFSTACK)); + ("PC= 0x%x (fn+%d) op= 0%o TOS= 0x%x\n", (int)PCMAC, (int)PCMAC - (int)FuncObj, Get_BYTE_PCMAC0, TOPOFSTACK)); #ifdef MYOPTRACE } #endif /* MYOPTRACE */