OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 // This module provides an object for handling RSP responsibilities of | 6 // This module provides an object for handling RSP responsibilities of |
7 // the host side of the connection. The host behaves like a cache, and | 7 // the host side of the connection. The host behaves like a cache, and |
8 // is responsible for syncronization of state between the Target and Host. | 8 // is responsible for syncronization of state between the Target and Host. |
9 // For example, the Host is responsible for updating the thread context | 9 // For example, the Host is responsible for updating the thread context |
10 // before restarting the Target, and for updating it's internal array of | 10 // before restarting the Target, and for updating its internal array of |
11 // threads whenever the Target stops. | 11 // threads whenever the Target stops. |
12 | 12 |
13 #ifndef NATIVE_CLIENT_GDB_RSP_HOST_H_ | 13 #ifndef NATIVE_CLIENT_GDB_RSP_HOST_H_ |
14 #define NATIVE_CLIENT_GDB_RSP_HOST_H_ 1 | 14 #define NATIVE_CLIENT_GDB_RSP_HOST_H_ 1 |
15 | 15 |
16 #include <map> | 16 #include <map> |
17 #include <string> | 17 #include <string> |
18 #include <vector> | 18 #include <vector> |
19 | 19 |
20 #include "native_client/src/debug_server/port/std_types.h" | 20 #include "native_client/src/debug_server/port/std_types.h" |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 ThreadMap_t threads_; | 139 ThreadMap_t threads_; |
140 int32_t lastSignal_; | 140 int32_t lastSignal_; |
141 Status status_; | 141 Status status_; |
142 }; | 142 }; |
143 | 143 |
144 | 144 |
145 } // namespace gdb_rsp | 145 } // namespace gdb_rsp |
146 | 146 |
147 #endif // NATIVE_CLIENT_GDB_RSP_HOST_H_ | 147 #endif // NATIVE_CLIENT_GDB_RSP_HOST_H_ |
148 | 148 |
OLD | NEW |