Remote GDB: Get rid of an unwanted delete in SE.
authorGabe Black <gblack@eecs.umich.edu>
Wed, 3 Oct 2007 01:23:11 +0000 (18:23 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Wed, 3 Oct 2007 01:23:11 +0000 (18:23 -0700)
--HG--
extra : convert_revision : 7531ba87893a8ebff3863adb846b382d07a1d18d

src/base/remote_gdb.cc

index b28beba890381205592e1dd8e54a4dcc30987ca1..d5095e7f96f069dd8d5e90221d86df2dfb683294 100644 (file)
@@ -461,8 +461,6 @@ BaseRemoteGDB::read(Addr vaddr, size_t size, char *data)
     port->readBlob(vaddr, (uint8_t*)data, size);
 #if FULL_SYSTEM
     context->delVirtPort(port);
-#else
-    delete port;
 #endif
 
 #if TRACING_ON