diff options
Diffstat (limited to 'covoar/TraceList.cc')
-rw-r--r-- | covoar/TraceList.cc | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/covoar/TraceList.cc b/covoar/TraceList.cc deleted file mode 100644 index 514813b..0000000 --- a/covoar/TraceList.cc +++ /dev/null @@ -1,50 +0,0 @@ -#include "TraceList.h" -#include <stdio.h> - -namespace Trace { - - TraceList::TraceList() - { - } - - TraceList::~TraceList() - { - } - - void TraceList::add( - uint32_t lowAddressArg, - uint32_t highAddressArg, - exitReason_t why - ) - { - traceRange_t t; - - t.lowAddress = lowAddressArg; - t.length = highAddressArg - lowAddressArg; - t.exitReason = why; - - set.push_back( t ); - } - - void TraceList::ShowTrace( traceRange_t *t) - { - printf( - "Start 0x%x, length 0x%03x Reason %d\n", - t->lowAddress, - t->length, - t->exitReason - ); - } - - void TraceList::ShowList() - { - ranges_t::iterator ritr; - traceRange_t t; - - for ( ritr=set.begin(); ritr != set.end(); ritr++ ) { - t = *ritr; - ShowTrace( &t ); - } - } - -} |