diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2008-07-01 10:25:07 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2008-07-01 10:25:07 -0400 |
commit | a4a7a09e9622d6ad1ca91a4df253b9768c73de90 (patch) | |
tree | 828d818d5420c123f005a3b4617abc1689628406 /src/base | |
parent | c5fbbf376a6be4bb3ad7ddc64841450541c16db6 (diff) | |
download | gem5-a4a7a09e9622d6ad1ca91a4df253b9768c73de90.tar.xz |
Remove delVirtPort() and make getVirtPort() only return cached version.
Diffstat (limited to 'src/base')
-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 |