From 7b19e30d71dcd241e99e49c84389482835b3720c Mon Sep 17 00:00:00 2001
From: clc5q <clc5q@git.zephyr-software.com>
Date: Fri, 18 Apr 2008 03:28:03 +0000
Subject: [PATCH] Format change for SafeReturn annotation.

---
 SMPInstr.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/SMPInstr.cpp b/SMPInstr.cpp
index ee8b40ac..c3f518c7 100644
--- a/SMPInstr.cpp
+++ b/SMPInstr.cpp
@@ -1952,10 +1952,12 @@ void SMPInstr::EmitAnnotations(bool UseFP, bool AllocSeen, FILE *AnnotFile) {
 
 /**
  * Emits Safe Returns
+ * Mark the type of  the annotation as "-4". Currently  the SDT is ignoring this
+ * annotation. 
  */ 
 void SMPInstr::EmitSafeReturn(FILE *AnnotFile)
 {
-	qfprintf(AnnotFile, "%10x %6d INSTR RET_SAFE %s\n", this->address, this->SMPcmd.size, disasm);
+	qfprintf(AnnotFile, "%10x %6d INSTR LOCAL SafeReturn %s\n", this->address, -4, disasm);
 }
 
 // Emit all annotations for the instruction using RTL type inference.
-- 
GitLab