| Index: src/trusted/debug_stub/target.cc
|
| ===================================================================
|
| --- src/trusted/debug_stub/target.cc (revision 9590)
|
| +++ src/trusted/debug_stub/target.cc (working copy)
|
| @@ -97,7 +97,7 @@
|
| delete[] data;
|
| return false;
|
| }
|
| - if (IPlatform::SetMemory(address, bp->size_, bp->code_) == false) {
|
| + if (IPlatform::SetMemory(nap_, address, bp->size_, bp->code_) == false) {
|
| delete[] data;
|
| return false;
|
| }
|
| @@ -126,7 +126,7 @@
|
| breakMap_.erase(cur);
|
|
|
| // Copy back the old code, and free the data
|
| - if (!IPlatform::SetMemory(addr, bp_def->size_, data))
|
| + if (!IPlatform::SetMemory(nap_, addr, bp_def->size_, data))
|
| NaClLog(LOG_ERROR, "Failed to undo breakpoint.\n");
|
| delete[] data;
|
|
|
| @@ -490,7 +490,7 @@
|
| uint8_t *block = new uint8_t[len];
|
| pktIn->GetBlock(block, len);
|
|
|
| - if (!port::IPlatform::SetMemory(sys_addr, len, block)) {
|
| + if (!port::IPlatform::SetMemory(nap_, sys_addr, len, block)) {
|
| err = FAILED;
|
| break;
|
| }
|
|
|