Deleted Added
sdiff udiff text old ( 2680:246e7104f744 ) new ( 2684:71f3cabf891f )
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;

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

637
638 if (vaddr < 10) {
639 DPRINTF(GDBRead, "read: reading memory location zero!\n");
640 vaddr = lastaddr + lastsize;
641 }
642
643 DPRINTF(GDBRead, "read: addr=%#x, size=%d", vaddr, size);
644
645 context->getVirtPort(context)->readBlob(vaddr, (uint8_t*)data, size);
646
647#if TRACING_ON
648 if (DTRACE(GDBRead)) {
649 if (DTRACE(GDBExtra)) {
650 char buf[1024];
651 mem2hex(buf, data, size);
652 DPRINTFNR(": %s\n", buf);
653 } else

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

674 DPRINTFN("write: addr=%#x, size=%d", vaddr, size);
675 if (DTRACE(GDBExtra)) {
676 char buf[1024];
677 mem2hex(buf, data, size);
678 DPRINTFNR(": %s\n", buf);
679 } else
680 DPRINTFNR("\n");
681 }
682
683 context->getVirtPort(context)->writeBlob(vaddr, (uint8_t*)data, size);
684
685#ifdef IMB
686 alpha_pal_imb();
687#endif
688
689 return true;
690}
691
692

--- 485 unchanged lines hidden ---