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 --- 142 unchanged lines hidden (view full) --- 151RemoteGDB::RemoteGDB(System *_system, ThreadContext *tc, int _port) 152 : BaseRemoteGDB(_system, tc, _port), regCache(this) 153{ 154} 155 156bool 157RemoteGDB::acc(Addr va, size_t len) 158{ |
159 panic_if(FullSystem, "acc not implemented for RISCV FS!"); 160 return context()->getProcessPtr()->pTable->lookup(va) != nullptr; |
161} 162 163void 164RemoteGDB::RiscvGdbRegCache::getRegs(ThreadContext *context) 165{ 166 DPRINTF(GDBAcc, "getregs in remotegdb, size %lu\n", size()); 167 for (int i = 0; i < NumIntArchRegs; i++) 168 r.gpr[i] = context->readIntReg(i); --- 35 unchanged lines hidden --- |