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

Side by Side Diff: gdb/features/i386/x32-linux.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/features/i386/x32-core.xml ('k') | gdb/features/i386/x32-linux.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* THIS FILE IS GENERATED. Original: amd64-linux.xml */ 1 /* THIS FILE IS GENERATED. Original: x32-linux.xml */
2 2
3 #include "defs.h" 3 #include "defs.h"
4 #include "osabi.h" 4 #include "osabi.h"
5 #include "target-descriptions.h" 5 #include "target-descriptions.h"
6 6
7 struct target_desc *tdesc_amd64_linux; 7 struct target_desc *tdesc_x32_linux;
8 static void 8 static void
9 initialize_tdesc_amd64_linux (void) 9 initialize_tdesc_x32_linux (void)
10 { 10 {
11 struct target_desc *result = allocate_target_description (); 11 struct target_desc *result = allocate_target_description ();
12 struct tdesc_feature *feature; 12 struct tdesc_feature *feature;
13 struct tdesc_type *field_type, *type; 13 struct tdesc_type *field_type, *type;
14 14
15 set_tdesc_architecture (result, bfd_scan_arch ("i386:x86-64")); 15 set_tdesc_architecture (result, bfd_scan_arch ("i386:x64-32"));
16 16
17 set_tdesc_osabi (result, osabi_from_tdesc_string ("GNU/Linux")); 17 set_tdesc_osabi (result, osabi_from_tdesc_string ("GNU/Linux"));
18 18
19 feature = tdesc_create_feature (result, "org.gnu.gdb.i386.core"); 19 feature = tdesc_create_feature (result, "org.gnu.gdb.i386.core");
20 field_type = tdesc_create_flags (feature, "i386_eflags", 4); 20 field_type = tdesc_create_flags (feature, "i386_eflags", 4);
21 tdesc_add_flag (field_type, 0, "CF"); 21 tdesc_add_flag (field_type, 0, "CF");
22 tdesc_add_flag (field_type, 1, ""); 22 tdesc_add_flag (field_type, 1, "");
23 tdesc_add_flag (field_type, 2, "PF"); 23 tdesc_add_flag (field_type, 2, "PF");
24 tdesc_add_flag (field_type, 4, "AF"); 24 tdesc_add_flag (field_type, 4, "AF");
25 tdesc_add_flag (field_type, 6, "ZF"); 25 tdesc_add_flag (field_type, 6, "ZF");
(...skipping 19 matching lines...) Expand all
45 tdesc_create_reg (feature, "rbp", 6, 1, NULL, 64, "int64"); 45 tdesc_create_reg (feature, "rbp", 6, 1, NULL, 64, "int64");
46 tdesc_create_reg (feature, "rsp", 7, 1, NULL, 64, "int64"); 46 tdesc_create_reg (feature, "rsp", 7, 1, NULL, 64, "int64");
47 tdesc_create_reg (feature, "r8", 8, 1, NULL, 64, "int64"); 47 tdesc_create_reg (feature, "r8", 8, 1, NULL, 64, "int64");
48 tdesc_create_reg (feature, "r9", 9, 1, NULL, 64, "int64"); 48 tdesc_create_reg (feature, "r9", 9, 1, NULL, 64, "int64");
49 tdesc_create_reg (feature, "r10", 10, 1, NULL, 64, "int64"); 49 tdesc_create_reg (feature, "r10", 10, 1, NULL, 64, "int64");
50 tdesc_create_reg (feature, "r11", 11, 1, NULL, 64, "int64"); 50 tdesc_create_reg (feature, "r11", 11, 1, NULL, 64, "int64");
51 tdesc_create_reg (feature, "r12", 12, 1, NULL, 64, "int64"); 51 tdesc_create_reg (feature, "r12", 12, 1, NULL, 64, "int64");
52 tdesc_create_reg (feature, "r13", 13, 1, NULL, 64, "int64"); 52 tdesc_create_reg (feature, "r13", 13, 1, NULL, 64, "int64");
53 tdesc_create_reg (feature, "r14", 14, 1, NULL, 64, "int64"); 53 tdesc_create_reg (feature, "r14", 14, 1, NULL, 64, "int64");
54 tdesc_create_reg (feature, "r15", 15, 1, NULL, 64, "int64"); 54 tdesc_create_reg (feature, "r15", 15, 1, NULL, 64, "int64");
55 tdesc_create_reg (feature, "rip", 16, 1, NULL, 64, "int64"); 55 tdesc_create_reg (feature, "rip", 16, 1, NULL, 64, "uint64");
56 tdesc_create_reg (feature, "eflags", 17, 1, NULL, 32, "i386_eflags"); 56 tdesc_create_reg (feature, "eflags", 17, 1, NULL, 32, "i386_eflags");
57 tdesc_create_reg (feature, "cs", 18, 1, NULL, 32, "int32"); 57 tdesc_create_reg (feature, "cs", 18, 1, NULL, 32, "int32");
58 tdesc_create_reg (feature, "ss", 19, 1, NULL, 32, "int32"); 58 tdesc_create_reg (feature, "ss", 19, 1, NULL, 32, "int32");
59 tdesc_create_reg (feature, "ds", 20, 1, NULL, 32, "int32"); 59 tdesc_create_reg (feature, "ds", 20, 1, NULL, 32, "int32");
60 tdesc_create_reg (feature, "es", 21, 1, NULL, 32, "int32"); 60 tdesc_create_reg (feature, "es", 21, 1, NULL, 32, "int32");
61 tdesc_create_reg (feature, "fs", 22, 1, NULL, 32, "int32"); 61 tdesc_create_reg (feature, "fs", 22, 1, NULL, 32, "int32");
62 tdesc_create_reg (feature, "gs", 23, 1, NULL, 32, "int32"); 62 tdesc_create_reg (feature, "gs", 23, 1, NULL, 32, "int32");
63 tdesc_create_reg (feature, "st0", 24, 1, NULL, 80, "i387_ext"); 63 tdesc_create_reg (feature, "st0", 24, 1, NULL, 80, "i387_ext");
64 tdesc_create_reg (feature, "st1", 25, 1, NULL, 80, "i387_ext"); 64 tdesc_create_reg (feature, "st1", 25, 1, NULL, 80, "i387_ext");
65 tdesc_create_reg (feature, "st2", 26, 1, NULL, 80, "i387_ext"); 65 tdesc_create_reg (feature, "st2", 26, 1, NULL, 80, "i387_ext");
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 tdesc_create_reg (feature, "xmm11", 51, 1, NULL, 128, "vec128"); 142 tdesc_create_reg (feature, "xmm11", 51, 1, NULL, 128, "vec128");
143 tdesc_create_reg (feature, "xmm12", 52, 1, NULL, 128, "vec128"); 143 tdesc_create_reg (feature, "xmm12", 52, 1, NULL, 128, "vec128");
144 tdesc_create_reg (feature, "xmm13", 53, 1, NULL, 128, "vec128"); 144 tdesc_create_reg (feature, "xmm13", 53, 1, NULL, 128, "vec128");
145 tdesc_create_reg (feature, "xmm14", 54, 1, NULL, 128, "vec128"); 145 tdesc_create_reg (feature, "xmm14", 54, 1, NULL, 128, "vec128");
146 tdesc_create_reg (feature, "xmm15", 55, 1, NULL, 128, "vec128"); 146 tdesc_create_reg (feature, "xmm15", 55, 1, NULL, 128, "vec128");
147 tdesc_create_reg (feature, "mxcsr", 56, 1, "vector", 32, "i386_mxcsr"); 147 tdesc_create_reg (feature, "mxcsr", 56, 1, "vector", 32, "i386_mxcsr");
148 148
149 feature = tdesc_create_feature (result, "org.gnu.gdb.i386.linux"); 149 feature = tdesc_create_feature (result, "org.gnu.gdb.i386.linux");
150 tdesc_create_reg (feature, "orig_rax", 57, 1, NULL, 64, "int"); 150 tdesc_create_reg (feature, "orig_rax", 57, 1, NULL, 64, "int");
151 151
152 tdesc_amd64_linux = result; 152 tdesc_x32_linux = result;
153 } 153 }
OLDNEW
« no previous file with comments | « gdb/features/i386/x32-core.xml ('k') | gdb/features/i386/x32-linux.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698