]>
Commit | Line | Data |
---|---|---|
53e95fcf JS |
1 | /* Target-dependent code for GDB, the GNU debugger. |
2 | Copyright 2001 | |
3 | Free Software Foundation, Inc. | |
4 | Contributed by Jiri Smid, SuSE Labs. | |
5 | ||
6 | This file is part of GDB. | |
7 | ||
8 | This program is free software; you can redistribute it and/or modify | |
9 | it under the terms of the GNU General Public License as published by | |
10 | the Free Software Foundation; either version 2 of the License, or | |
11 | (at your option) any later version. | |
12 | ||
13 | This program is distributed in the hope that it will be useful, | |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | GNU General Public License for more details. | |
17 | ||
18 | You should have received a copy of the GNU General Public License | |
19 | along with this program; if not, write to the Free Software | |
20 | Foundation, Inc., 59 Temple Place - Suite 330, | |
21 | Boston, MA 02111-1307, USA. */ | |
22 | ||
23 | #ifndef X86_64_TDEP_H | |
24 | #define X86_64_TDEP_H | |
25 | ||
da3331ec AC |
26 | struct gdbarch; |
27 | struct frame_info; | |
28 | ||
53e95fcf | 29 | #include "i386-tdep.h" |
53e95fcf | 30 | |
de220d0f ML |
31 | extern int x86_64_num_regs; |
32 | extern int x86_64_num_gregs; | |
53e95fcf | 33 | |
1cf877ad ML |
34 | int x86_64_register_number (const char *name); |
35 | const char *x86_64_register_name (int reg_nr); | |
b64bbf8c | 36 | |
8bedc050 | 37 | gdbarch_deprecated_frame_saved_pc_ftype x86_64_linux_frame_saved_pc; |
6913c89a | 38 | gdbarch_deprecated_saved_pc_after_call_ftype x86_64_linux_saved_pc_after_call; |
baed091b ML |
39 | gdbarch_pc_in_sigtramp_ftype x86_64_linux_in_sigtramp; |
40 | CORE_ADDR x86_64_linux_frame_chain (struct frame_info *fi); | |
97f46953 | 41 | CORE_ADDR x86_64_init_frame_pc (int fromleaf, struct frame_info *fi); |
6d686a84 | 42 | int x86_64_function_has_prologue (CORE_ADDR pc); |
baed091b | 43 | |
2213a65d | 44 | void x86_64_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch); |
53e95fcf JS |
45 | |
46 | #endif |