Add basic rule tracing.

This commit is contained in:
Jonathan Naylor
2017-06-04 15:17:43 +01:00
parent efbf42ff83
commit 2e257da997
17 changed files with 177 additions and 56 deletions

View File

@@ -26,7 +26,7 @@
class CRewritePC : public IRewrite {
public:
CRewritePC(const char* name, unsigned int fromSlot, unsigned int fromId, unsigned int toSlot, unsigned int toId, unsigned int range);
CRewritePC(const char* name, unsigned int fromSlot, unsigned int fromId, unsigned int toSlot, unsigned int toId, unsigned int range, bool trace);
virtual ~CRewritePC();
virtual bool processRF(CDMRData& data);
@@ -39,6 +39,7 @@ private:
unsigned int m_fromIdEnd;
unsigned int m_toSlot;
unsigned int m_toIdStart;
bool m_trace;
CDMRLC m_lc;
CDMREmbeddedData m_embeddedLC;