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

Side by Side Diff: gdb/i386-sol2-nat.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/i386-nto-tdep.c ('k') | gdb/i386-sol2-tdep.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Native-dependent code for Solaris x86. 1 /* Native-dependent code for Solaris x86.
2 2
3 Copyright (C) 2004, 2007-2012 Free Software Foundation, Inc. 3 Copyright (C) 2004, 2007-2012 Free Software Foundation, Inc.
4 4
5 This file is part of GDB. 5 This file is part of GDB.
6 6
7 This program is free software; you can redistribute it and/or modify 7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or 9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version. 10 (at your option) any later version.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 20 * 8, /* %rsp */ 61 20 * 8, /* %rsp */
62 7 * 8, /* %r8 ... */ 62 7 * 8, /* %r8 ... */
63 6 * 8, 63 6 * 8,
64 5 * 8, 64 5 * 8,
65 4 * 8, 65 4 * 8,
66 3 * 8, 66 3 * 8,
67 2 * 8, 67 2 * 8,
68 1 * 8, 68 1 * 8,
69 0 * 8, /* ... %r15 */ 69 0 * 8, /* ... %r15 */
70 17 * 8, /* %rip */ 70 17 * 8, /* %rip */
71 16 * 8,» » » /* %eflags */ 71 19 * 8,» » » /* %eflags */
72 18 * 8, /* %cs */ 72 18 * 8, /* %cs */
73 21 * 8, /* %ss */ 73 21 * 8, /* %ss */
74 25 * 8, /* %ds */ 74 25 * 8, /* %ds */
75 24 * 8, /* %es */ 75 24 * 8, /* %es */
76 22 * 8, /* %fs */ 76 22 * 8, /* %fs */
77 23 * 8 /* %gs */ 77 23 * 8 /* %gs */
78 }; 78 };
79 79
80 /* 32-bit registers are provided by Solaris in 64-bit format, so just 80 /* 32-bit registers are provided by Solaris in 64-bit format, so just
81 give a subset of the list above. */ 81 give a subset of the list above. */
82 static int amd64_sol2_gregset32_reg_offset[] = { 82 static int amd64_sol2_gregset32_reg_offset[] = {
83 14 * 8, /* %eax */ 83 14 * 8, /* %eax */
84 13 * 8, /* %ecx */ 84 13 * 8, /* %ecx */
85 12 * 8, /* %edx */ 85 12 * 8, /* %edx */
86 11 * 8, /* %ebx */ 86 11 * 8, /* %ebx */
87 20 * 8, /* %esp */ 87 20 * 8, /* %esp */
88 10 * 8, /* %ebp */ 88 10 * 8, /* %ebp */
89 9 * 8, /* %esi */ 89 9 * 8, /* %esi */
90 8 * 8, /* %edi */ 90 8 * 8, /* %edi */
91 17 * 8, /* %eip */ 91 17 * 8, /* %eip */
92 16 * 8,» » » /* %eflags */ 92 19 * 8,» » » /* %eflags */
93 18 * 8, /* %cs */ 93 18 * 8, /* %cs */
94 21 * 8, /* %ss */ 94 21 * 8, /* %ss */
95 25 * 8, /* %ds */ 95 25 * 8, /* %ds */
96 24 * 8, /* %es */ 96 24 * 8, /* %es */
97 22 * 8, /* %fs */ 97 22 * 8, /* %fs */
98 23 * 8 /* %gs */ 98 23 * 8 /* %gs */
99 }; 99 };
100 100
101 void 101 void
102 supply_gregset (struct regcache *regcache, const prgregset_t *gregs) 102 supply_gregset (struct regcache *regcache, const prgregset_t *gregs)
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 amd64_native_gregset32_reg_offset = amd64_sol2_gregset32_reg_offset; 149 amd64_native_gregset32_reg_offset = amd64_sol2_gregset32_reg_offset;
150 amd64_native_gregset32_num_regs = 150 amd64_native_gregset32_num_regs =
151 ARRAY_SIZE (amd64_sol2_gregset32_reg_offset); 151 ARRAY_SIZE (amd64_sol2_gregset32_reg_offset);
152 amd64_native_gregset64_reg_offset = amd64_sol2_gregset64_reg_offset; 152 amd64_native_gregset64_reg_offset = amd64_sol2_gregset64_reg_offset;
153 amd64_native_gregset64_num_regs = 153 amd64_native_gregset64_num_regs =
154 ARRAY_SIZE (amd64_sol2_gregset64_reg_offset); 154 ARRAY_SIZE (amd64_sol2_gregset64_reg_offset);
155 #endif 155 #endif
156 156
157 add_target (t); 157 add_target (t);
158 } 158 }
OLDNEW
« no previous file with comments | « gdb/i386-nto-tdep.c ('k') | gdb/i386-sol2-tdep.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698