Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: gdb/testsuite/gdb.base/jit-simple.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gdb/testsuite/gdb.base/jit.exp ('k') | gdb/testsuite/gdb.base/jit-simple.exp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /* Simple program using the JIT API. */
2
3 #include <stdint.h>
4
5 struct jit_code_entry
6 {
7 struct jit_code_entry *next_entry;
8 struct jit_code_entry *prev_entry;
9 const char *symfile_addr;
10 uint64_t symfile_size;
11 };
12
13 struct jit_descriptor
14 {
15 uint32_t version;
16 /* This type should be jit_actions_t, but we use uint32_t
17 to be explicit about the bitwidth. */
18 uint32_t action_flag;
19 struct jit_code_entry *relevant_entry;
20 struct jit_code_entry *first_entry;
21 };
22
23 #ifdef SPACER
24 /* This exists to change the address of __jit_debug_descriptor. */
25 int spacer = 4;
26 #endif
27
28 struct jit_descriptor __jit_debug_descriptor = { 1, 0, 0, 0 };
29
30 void __jit_debug_register_code()
31 {
32 }
33
34 int main()
35 {
36 return 0;
37 }
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.base/jit.exp ('k') | gdb/testsuite/gdb.base/jit-simple.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698