aboutsummaryrefslogtreecommitdiff
path: root/Debugger/debug_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'Debugger/debug_macros.h')
-rw-r--r--Debugger/debug_macros.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/Debugger/debug_macros.h b/Debugger/debug_macros.h
index fcf6ca6..b25c7b4 100644
--- a/Debugger/debug_macros.h
+++ b/Debugger/debug_macros.h
@@ -265,6 +265,20 @@
__dbg_outputSigMsg
.endm
+/* _dbg_outputMsgCurrTID
+ * Return Message with Default Thread ID ('+$QC0')
+ * On exit:
+ * R0: Pointer to Output Buffer ASCIIZ location
+ * R1: destroyed
+ * R2: destroyed
+ */
+ .macro _dbg_outputMsgCurrTID
+ ldr r0, =debug_OutMsgBuf
+ ldr r1, =debug_ThreadIDResponse /* ASCIIZ terminated */
+ _dbg_stpcpy r0, r1, r2
+ .endm
+
+
/* _regenum2index
* Convert register enum to debugger stack index
*