123a124,126
> #include "config/full_system.hh"
>
> #if FULL_SYSTEM
124a128,129
> #endif
>
129d133
< #include "config/full_system.hh"
132c136
< #include "mem/physical.hh"
---
> //#include "mem/physical.hh"
133a138
> #include "mem/translating_port.hh"
451,453c456,466
< VirtualPort *vp = context->getVirtPort(context);
< vp->readBlob(vaddr, (uint8_t*)data, size);
< context->delVirtPort(vp);
---
> #if FULL_SYSTEM
> VirtualPort *port = context->getVirtPort(context);
> #else
> TranslatingPort *port = context->getMemPort();
> #endif
> port->readBlob(vaddr, (uint8_t*)data, size);
> #if FULL_SYSTEM
> context->delVirtPort(port);
> #else
> delete port;
> #endif
490,492c503,513
< VirtualPort *vp = context->getVirtPort(context);
< vp->writeBlob(vaddr, (uint8_t*)data, size);
< context->delVirtPort(vp);
---
> #if FULL_SYSTEM
> VirtualPort *port = context->getVirtPort(context);
> #else
> TranslatingPort *port = context->getMemPort();
> #endif
> port->writeBlob(vaddr, (uint8_t*)data, size);
> #if FULL_SYSTEM
> context->delVirtPort(port);
> #else
> delete port;
> #endif
613c634
< char *buffer;
---
> char buffer[gdbregs.bytes() * 2 + 256];
622,623d642
< buffer = (char*)malloc(gdbregs.bytes() * 2 + 256);
<
921d939
< free(buffer);