Deleted Added
sdiff udiff text old ( 10595:25ecfc14f73f ) new ( 10601:6efb37480d87 )
full compact
1/*
2 * Copyright 2014 Google Inc.
3 * Copyright (c) 2010, 2013 ARM Limited
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

156#include "mem/port.hh"
157#include "sim/full_system.hh"
158#include "sim/system.hh"
159
160using namespace std;
161using namespace ArmISA;
162
163RemoteGDB::RemoteGDB(System *_system, ThreadContext *tc)
164 : BaseRemoteGDB(_system, tc, GDB_REG_BYTES)
165{
166}
167
168/*
169 * Determine if the mapping at va..(va+len) is valid.
170 */
171bool
172RemoteGDB::acc(Addr va, size_t len)

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

308 for (int i = 0; i < NumFloatV7ArchRegs; ++i)
309 context->setFloatRegBits(i, gdbregs.regs32[GDB32_F0 + i]);
310
311 //FPSCR
312 context->setMiscReg(MISCREG_FPSCR, gdbregs.regs32[GDB32_FPSCR]);
313 }
314}
315
316// Write bytes to kernel address space for debugger.
317bool
318RemoteGDB::write(Addr vaddr, size_t size, const char *data)
319{
320 return BaseRemoteGDB::write(vaddr, size, data);
321}
322