1/* 2 * Copyright 2014 Google, Inc. 3 * Copyright (c) 2007 The Hewlett-Packard Development Company 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 --- 102 unchanged lines hidden (view full) --- 111 GDB64_NUMREGS = (GDB64_GS_32 + 1) / 2 + 1 112 }; 113 114 RemoteGDB(System *system, ThreadContext *context); 115 116 bool acc(Addr addr, size_t len); 117 118 protected: |
119 void getregs(); 120 void setregs(); 121 |
122 bool checkBpLen(size_t len) { return len == 1; } 123}; 124 125const int GDB_REG_BYTES = 126 std::max(RemoteGDB::GDB32_NUMREGS * sizeof(uint32_t), 127 RemoteGDB::GDB64_NUMREGS * sizeof(uint64_t)); 128 129} 130 131#endif // __ARCH_X86_REMOTEGDB_HH__ |