Undo refactoring (in TracingPlugin) of MemAccessEvent::MEM_READ
* MemAccessListener::MEM_READ does not exist, should it? * Adrian, please review this commit and fix it if needed git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1473 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -55,7 +55,7 @@ bool TracingPlugin::run()
|
||||
if (m_os)
|
||||
*m_os << hex << "[Tracing] MEM "
|
||||
<< ((ev_mem.getTriggerAccessType() &
|
||||
MemAccessListener::MEM_READ) ? "R " : "W ")
|
||||
MemAccessEvent::MEM_READ) ? "R " : "W ")
|
||||
<< addr << " width " << width << " IP " << ip << "\n";
|
||||
if (m_protoStreamFile) {
|
||||
Trace_Event e;
|
||||
@ -63,7 +63,7 @@ bool TracingPlugin::run()
|
||||
e.set_memaddr(addr);
|
||||
e.set_width(width);
|
||||
e.set_accesstype(
|
||||
(ev_mem.getTriggerAccessType() & MemAccessListener::MEM_READ) ?
|
||||
(ev_mem.getTriggerAccessType() & MemAccessEvent::MEM_READ) ?
|
||||
e.READ : e.WRITE);
|
||||
ps->writeMessage(&e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user