remote_gdb.cc (12449:2260f4a68210) remote_gdb.cc (12455:c88f0b37f433)
1/*
2 * Copyright 2015 LabWare
3 * Copyright 2014 Google Inc.
4 * Copyright (c) 2010, 2013, 2016 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

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

181 DPRINTF(GDBAcc, "acc: %#x mapping is invalid\n", va);
182 return false;
183 }
184 }
185
186 DPRINTF(GDBAcc, "acc: %#x mapping is valid\n", va);
187 return true;
188 } else {
1/*
2 * Copyright 2015 LabWare
3 * Copyright 2014 Google Inc.
4 * Copyright (c) 2010, 2013, 2016 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

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

181 DPRINTF(GDBAcc, "acc: %#x mapping is invalid\n", va);
182 return false;
183 }
184 }
185
186 DPRINTF(GDBAcc, "acc: %#x mapping is valid\n", va);
187 return true;
188 } else {
189 TlbEntry entry;
190 //Check to make sure the first byte is mapped into the processes address
191 //space.
192 if (context()->getProcessPtr()->pTable->lookup(va, entry))
193 return true;
194 return false;
189 // Check to make sure the first byte is mapped into the processes
190 // address space.
191 return context()->getProcessPtr()->pTable->lookup(va) != nullptr;
195 }
196}
197
198void
199RemoteGDB::AArch64GdbRegCache::getRegs(ThreadContext *context)
200{
201 DPRINTF(GDBAcc, "getRegs in remotegdb \n");
202

--- 109 unchanged lines hidden ---
192 }
193}
194
195void
196RemoteGDB::AArch64GdbRegCache::getRegs(ThreadContext *context)
197{
198 DPRINTF(GDBAcc, "getRegs in remotegdb \n");
199

--- 109 unchanged lines hidden ---