Deleted Added
sdiff udiff text old ( 5498:2af99511ded4 ) new ( 5499:8bfc7650c344 )
full compact
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 445 unchanged lines hidden (view full) ---

454 DPRINTF(GDBRead, "read: addr=%#x, size=%d", vaddr, size);
455
456#if FULL_SYSTEM
457 VirtualPort *port = context->getVirtPort();
458#else
459 TranslatingPort *port = context->getMemPort();
460#endif
461 port->readBlob(vaddr, (uint8_t*)data, size);
462#if FULL_SYSTEM
463 context->delVirtPort(port);
464#endif
465
466#if TRACING_ON
467 if (DTRACE(GDBRead)) {
468 if (DTRACE(GDBExtra)) {
469 char buf[1024];
470 mem2hex(buf, data, size);
471 DPRINTFNR(": %s\n", buf);
472 } else

--- 26 unchanged lines hidden (view full) ---

499 DPRINTFNR("\n");
500 }
501#if FULL_SYSTEM
502 VirtualPort *port = context->getVirtPort();
503#else
504 TranslatingPort *port = context->getMemPort();
505#endif
506 port->writeBlob(vaddr, (uint8_t*)data, size);
507#if FULL_SYSTEM
508 context->delVirtPort(port);
509#else
510 delete port;
511#endif
512
513 return true;
514}
515
516PCEventQueue *BaseRemoteGDB::getPcEventQueue()
517{

--- 506 unchanged lines hidden ---