Commit | Line | Data |
---|---|---|
c4bfde41 JK |
1 | /* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: |
2 | Original: tic6x-c62x-linux.xml */ | |
d3e3fa93 YQ |
3 | |
4 | #include "defs.h" | |
5 | #include "osabi.h" | |
6 | #include "target-descriptions.h" | |
7 | ||
8 | struct target_desc *tdesc_tic6x_c62x_linux; | |
9 | static void | |
10 | initialize_tdesc_tic6x_c62x_linux (void) | |
11 | { | |
12 | struct target_desc *result = allocate_target_description (); | |
13 | struct tdesc_feature *feature; | |
d3e3fa93 YQ |
14 | |
15 | set_tdesc_architecture (result, bfd_scan_arch ("tic6x")); | |
16 | ||
17 | set_tdesc_osabi (result, osabi_from_tdesc_string ("GNU/Linux")); | |
18 | ||
19 | feature = tdesc_create_feature (result, "org.gnu.gdb.tic6x.core"); | |
20 | tdesc_create_reg (feature, "A0", 0, 1, NULL, 32, "uint32"); | |
21 | tdesc_create_reg (feature, "A1", 1, 1, NULL, 32, "uint32"); | |
22 | tdesc_create_reg (feature, "A2", 2, 1, NULL, 32, "uint32"); | |
23 | tdesc_create_reg (feature, "A3", 3, 1, NULL, 32, "uint32"); | |
24 | tdesc_create_reg (feature, "A4", 4, 1, NULL, 32, "uint32"); | |
25 | tdesc_create_reg (feature, "A5", 5, 1, NULL, 32, "uint32"); | |
26 | tdesc_create_reg (feature, "A6", 6, 1, NULL, 32, "uint32"); | |
27 | tdesc_create_reg (feature, "A7", 7, 1, NULL, 32, "uint32"); | |
28 | tdesc_create_reg (feature, "A8", 8, 1, NULL, 32, "uint32"); | |
29 | tdesc_create_reg (feature, "A9", 9, 1, NULL, 32, "uint32"); | |
30 | tdesc_create_reg (feature, "A10", 10, 1, NULL, 32, "uint32"); | |
31 | tdesc_create_reg (feature, "A11", 11, 1, NULL, 32, "uint32"); | |
32 | tdesc_create_reg (feature, "A12", 12, 1, NULL, 32, "uint32"); | |
33 | tdesc_create_reg (feature, "A13", 13, 1, NULL, 32, "uint32"); | |
34 | tdesc_create_reg (feature, "A14", 14, 1, NULL, 32, "uint32"); | |
35 | tdesc_create_reg (feature, "A15", 15, 1, NULL, 32, "uint32"); | |
36 | tdesc_create_reg (feature, "B0", 16, 1, NULL, 32, "uint32"); | |
37 | tdesc_create_reg (feature, "B1", 17, 1, NULL, 32, "uint32"); | |
38 | tdesc_create_reg (feature, "B2", 18, 1, NULL, 32, "uint32"); | |
39 | tdesc_create_reg (feature, "B3", 19, 1, NULL, 32, "uint32"); | |
40 | tdesc_create_reg (feature, "B4", 20, 1, NULL, 32, "uint32"); | |
41 | tdesc_create_reg (feature, "B5", 21, 1, NULL, 32, "uint32"); | |
42 | tdesc_create_reg (feature, "B6", 22, 1, NULL, 32, "uint32"); | |
43 | tdesc_create_reg (feature, "B7", 23, 1, NULL, 32, "uint32"); | |
44 | tdesc_create_reg (feature, "B8", 24, 1, NULL, 32, "uint32"); | |
45 | tdesc_create_reg (feature, "B9", 25, 1, NULL, 32, "uint32"); | |
46 | tdesc_create_reg (feature, "B10", 26, 1, NULL, 32, "uint32"); | |
47 | tdesc_create_reg (feature, "B11", 27, 1, NULL, 32, "uint32"); | |
48 | tdesc_create_reg (feature, "B12", 28, 1, NULL, 32, "uint32"); | |
49 | tdesc_create_reg (feature, "B13", 29, 1, NULL, 32, "uint32"); | |
50 | tdesc_create_reg (feature, "B14", 30, 1, NULL, 32, "uint32"); | |
51 | tdesc_create_reg (feature, "B15", 31, 1, NULL, 32, "uint32"); | |
52 | tdesc_create_reg (feature, "CSR", 32, 1, NULL, 32, "uint32"); | |
53 | tdesc_create_reg (feature, "PC", 33, 1, NULL, 32, "code_ptr"); | |
54 | ||
55 | tdesc_tic6x_c62x_linux = result; | |
56 | } |