add write/read functions that have endian conversions in them
when we get a virtual port delete it (even though delete does nothing in these cases)
src/arch/alpha/linux/system.cc:
src/arch/alpha/stacktrace.cc:
src/base/remote_gdb.cc:
src/cpu/simple_thread.cc:
when we get a virtual port delete it (even though delete does nothing in this case)
src/mem/port.hh:
src/mem/vport.hh:
add write/read functions that have endian conversions in them
--HG--
extra : convert_revision : 163e05cc038c461f95c92f8ce55422033f9ea513
This commit is contained in:
@@ -314,9 +314,10 @@ SimpleThread::getVirtPort(ThreadContext *src_tc)
|
||||
void
|
||||
SimpleThread::delVirtPort(VirtualPort *vp)
|
||||
{
|
||||
// assert(!vp->nullThreadContext());
|
||||
delete vp->getPeer();
|
||||
delete vp;
|
||||
if (vp != virtPort) {
|
||||
delete vp->getPeer();
|
||||
delete vp;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user