OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright 2010 The Native Client Authors. All rights reserved. | 2 * Copyright 2010 The Native Client Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can | 3 * Use of this source code is governed by a BSD-style license that can |
4 * be found in the LICENSE file. | 4 * be found in the LICENSE file. |
5 */ | 5 */ |
6 #ifndef NATIVE_CLIENT_GDB_RSP_TEST_H_ | 6 #ifndef SRC_TRUSTED_GDB_RSP_TEST_H_ |
7 #define NATIVE_CLIENT_GDB_RSP_TEST_H_ 1 | 7 #define SRC_TRUSTED_GDB_RSP_TEST_H_ 1 |
8 | 8 |
noelallen_use_chromium
2010/12/13 19:28:10
Guard. Belongs in gsb_rsp_test CL?
mlinck
2010/12/14 17:23:24
Done.
| |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "native_client/src/trusted/port/std_types.h" | 11 #include "native_client/src/trusted/port/std_types.h" |
12 #include "native_client/src/trusted/port/platform.h" | 12 #include "native_client/src/trusted/port/platform.h" |
13 #include "native_client/src/trusted/port/transport.h" | 13 #include "native_client/src/trusted/port/transport.h" |
14 | 14 |
15 #include "native_client/src/trusted/gdb_rsp/abi.h" | 15 #include "native_client/src/trusted/gdb_rsp/abi.h" |
16 #include "native_client/src/trusted/gdb_rsp/host.h" | 16 #include "native_client/src/trusted/gdb_rsp/host.h" |
17 #include "native_client/src/trusted/gdb_rsp/packet.h" | 17 #include "native_client/src/trusted/gdb_rsp/packet.h" |
18 #include "native_client/src/trusted/gdb_rsp/session.h" | 18 #include "native_client/src/trusted/gdb_rsp/session.h" |
19 #include "native_client/src/trusted/gdb_rsp/target.h" | 19 #include "native_client/src/trusted/gdb_rsp/target.h" |
20 #include "native_client/src/trusted/gdb_rsp/util.h" | 20 #include "native_client/src/trusted/gdb_rsp/util.h" |
21 | 21 |
22 typedef void (*PacketFunc_t)(void *ctx, | 22 typedef void (*PacketFunc_t)(void *ctx, |
23 gdb_rsp::Packet *wr, | 23 gdb_rsp::Packet *wr, |
24 gdb_rsp::Packet *rd); | 24 gdb_rsp::Packet *rd); |
25 | 25 |
26 int VerifyPacket(gdb_rsp::Packet *wr, gdb_rsp::Packet *rd, | 26 int VerifyPacket(gdb_rsp::Packet *wr, gdb_rsp::Packet *rd, |
27 void *ctx, PacketFunc_t tx); | 27 void *ctx, PacketFunc_t tx); |
28 | 28 |
29 int TestAbi(); | 29 int TestAbi(); |
30 int TestHost(); | 30 int TestHost(); |
31 int TestPacket(); | 31 int TestPacket(); |
32 int TestSession(); | 32 int TestSession(); |
33 int TestTarget(); | 33 int TestTarget(); |
34 int TestUtil(); | 34 int TestUtil(); |
35 | 35 |
36 #endif // NATIVE_CLIENT_GDB_RSP_TEST_H_ | 36 #endif // SRC_TRUSTED_GDB_RSP_TEST_H_ |
37 | 37 |
OLD | NEW |