diff options
Diffstat (limited to 'src/base/remote_gdb.cc')
-rw-r--r-- | src/base/remote_gdb.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/base/remote_gdb.cc b/src/base/remote_gdb.cc index 1a858a3f3..51293e118 100644 --- a/src/base/remote_gdb.cc +++ b/src/base/remote_gdb.cc @@ -459,9 +459,6 @@ BaseRemoteGDB::read(Addr vaddr, size_t size, char *data) TranslatingPort *port = context->getMemPort(); #endif port->readBlob(vaddr, (uint8_t*)data, size); -#if FULL_SYSTEM - context->delVirtPort(port); -#endif #if TRACING_ON if (DTRACE(GDBRead)) { @@ -504,9 +501,7 @@ BaseRemoteGDB::write(Addr vaddr, size_t size, const char *data) TranslatingPort *port = context->getMemPort(); #endif port->writeBlob(vaddr, (uint8_t*)data, size); -#if FULL_SYSTEM - context->delVirtPort(port); -#else +#if !FULL_SYSTEM delete port; #endif |