Deleted Added
sdiff udiff text old ( 12449:2260f4a68210 ) new ( 12455:c88f0b37f433 )
full compact
1/*
2 * Copyright 2015 LabWare
3 * Copyright 2014 Google, Inc.
4 * Copyright (c) 2010 ARM Limited
5 * All rights reserved
6 *
7 * The license below extends only to copyright in the software and shall
8 * not be construed as granting a license to any other intellectual

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

157}
158
159/*
160 * Determine if the mapping at va..(va+len) is valid.
161 */
162bool
163RemoteGDB::acc(Addr va, size_t len)
164{
165 // Check to make sure the first byte is mapped into the processes address
166 // space.
167 panic_if(FullSystem, "acc not implemented for MIPS FS!");
168 return context()->getProcessPtr()->pTable->lookup(va) != nullptr;
169}
170
171void
172RemoteGDB::MipsGdbRegCache::getRegs(ThreadContext *context)
173{
174 DPRINTF(GDBAcc, "getregs in remotegdb \n");
175
176 for (int i = 0; i < 32; i++) r.gpr[i] = context->readIntReg(i);

--- 33 unchanged lines hidden ---