OLD | NEW |
1 /* Target-dependent definitions for AMD64. | 1 /* Target-dependent definitions for AMD64. |
2 | 2 |
3 Copyright (C) 2001, 2003-2004, 2007-2012 Free Software Foundation, | 3 Copyright (C) 2001, 2003-2004, 2007-2012 Free Software Foundation, |
4 Inc. | 4 Inc. |
5 Contributed by Jiri Smid, SuSE Labs. | 5 Contributed by Jiri Smid, SuSE Labs. |
6 | 6 |
7 This file is part of GDB. | 7 This file is part of GDB. |
8 | 8 |
9 This program is free software; you can redistribute it and/or modify | 9 This program is free software; you can redistribute it and/or modify |
10 it under the terms of the GNU General Public License as published by | 10 it under the terms of the GNU General Public License as published by |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 73 |
74 extern struct displaced_step_closure *amd64_displaced_step_copy_insn | 74 extern struct displaced_step_closure *amd64_displaced_step_copy_insn |
75 (struct gdbarch *gdbarch, CORE_ADDR from, CORE_ADDR to, | 75 (struct gdbarch *gdbarch, CORE_ADDR from, CORE_ADDR to, |
76 struct regcache *regs); | 76 struct regcache *regs); |
77 extern void amd64_displaced_step_fixup (struct gdbarch *gdbarch, | 77 extern void amd64_displaced_step_fixup (struct gdbarch *gdbarch, |
78 struct displaced_step_closure *closure, | 78 struct displaced_step_closure *closure, |
79 CORE_ADDR from, CORE_ADDR to, | 79 CORE_ADDR from, CORE_ADDR to, |
80 struct regcache *regs); | 80 struct regcache *regs); |
81 | 81 |
82 extern void amd64_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch); | 82 extern void amd64_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch); |
| 83 extern void amd64_x32_init_abi (struct gdbarch_info info, |
| 84 struct gdbarch *gdbarch); |
83 | 85 |
84 /* Fill register REGNUM in REGCACHE with the appropriate | 86 /* Fill register REGNUM in REGCACHE with the appropriate |
85 floating-point or SSE register value from *FXSAVE. If REGNUM is | 87 floating-point or SSE register value from *FXSAVE. If REGNUM is |
86 -1, do this for all registers. This function masks off any of the | 88 -1, do this for all registers. This function masks off any of the |
87 reserved bits in *FXSAVE. */ | 89 reserved bits in *FXSAVE. */ |
88 | 90 |
89 extern void amd64_supply_fxsave (struct regcache *regcache, int regnum, | 91 extern void amd64_supply_fxsave (struct regcache *regcache, int regnum, |
90 const void *fxsave); | 92 const void *fxsave); |
91 | 93 |
92 /* Similar to amd64_supply_fxsave, but use XSAVE extended state. */ | 94 /* Similar to amd64_supply_fxsave, but use XSAVE extended state. */ |
(...skipping 25 matching lines...) Expand all Loading... |
118 | 120 |
119 /* Variables exported from amd64obsd-tdep.c. */ | 121 /* Variables exported from amd64obsd-tdep.c. */ |
120 extern int amd64obsd_r_reg_offset[]; | 122 extern int amd64obsd_r_reg_offset[]; |
121 | 123 |
122 /* Variables exported from amd64fbsd-tdep.c. */ | 124 /* Variables exported from amd64fbsd-tdep.c. */ |
123 extern CORE_ADDR amd64fbsd_sigtramp_start_addr; | 125 extern CORE_ADDR amd64fbsd_sigtramp_start_addr; |
124 extern CORE_ADDR amd64fbsd_sigtramp_end_addr; | 126 extern CORE_ADDR amd64fbsd_sigtramp_end_addr; |
125 extern int amd64fbsd_sc_reg_offset[]; | 127 extern int amd64fbsd_sc_reg_offset[]; |
126 | 128 |
127 #endif /* amd64-tdep.h */ | 129 #endif /* amd64-tdep.h */ |
OLD | NEW |