OLD | NEW |
1 /* Target-dependent code for the ia64. | 1 /* Target-dependent code for the ia64. |
2 | 2 |
3 Copyright (C) 2004-2005, 2007-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2004-2005, 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. |
11 | 11 |
12 This program is distributed in the hope that it will be useful, | 12 This program is distributed in the hope that it will be useful, |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 GNU General Public License for more details. | 15 GNU General Public License for more details. |
16 | 16 |
17 You should have received a copy of the GNU General Public License | 17 You should have received a copy of the GNU General Public License |
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 18 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
19 | 19 |
20 #ifndef IA64_TDEP_H | 20 #ifndef IA64_TDEP_H |
21 #define IA64_TDEP_H | 21 #define IA64_TDEP_H |
22 | 22 |
| 23 #ifdef HAVE_LIBUNWIND_IA64_H |
| 24 #include "libunwind-ia64.h" |
| 25 #include "ia64-libunwind-tdep.h" |
| 26 #endif |
| 27 |
23 /* Register numbers of various important registers. */ | 28 /* Register numbers of various important registers. */ |
24 | 29 |
25 /* General registers; there are 128 of these 64 bit wide registers. | 30 /* General registers; there are 128 of these 64 bit wide registers. |
26 The first 32 are static and the last 96 are stacked. */ | 31 The first 32 are static and the last 96 are stacked. */ |
27 #define IA64_GR0_REGNUM 0 | 32 #define IA64_GR0_REGNUM 0 |
28 #define IA64_GR1_REGNUM (IA64_GR0_REGNUM + 1) | 33 #define IA64_GR1_REGNUM (IA64_GR0_REGNUM + 1) |
29 #define IA64_GR2_REGNUM (IA64_GR0_REGNUM + 2) | 34 #define IA64_GR2_REGNUM (IA64_GR0_REGNUM + 2) |
30 #define IA64_GR3_REGNUM (IA64_GR0_REGNUM + 3) | 35 #define IA64_GR3_REGNUM (IA64_GR0_REGNUM + 3) |
31 #define IA64_GR4_REGNUM (IA64_GR0_REGNUM + 4) | 36 #define IA64_GR4_REGNUM (IA64_GR0_REGNUM + 4) |
32 #define IA64_GR5_REGNUM (IA64_GR0_REGNUM + 5) | 37 #define IA64_GR5_REGNUM (IA64_GR0_REGNUM + 5) |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 CORE_ADDR faddr); | 248 CORE_ADDR faddr); |
244 | 249 |
245 /* ISA-specific data types. */ | 250 /* ISA-specific data types. */ |
246 struct type *ia64_ext_type; | 251 struct type *ia64_ext_type; |
247 | 252 |
248 struct ia64_infcall_ops infcall_ops; | 253 struct ia64_infcall_ops infcall_ops; |
249 }; | 254 }; |
250 | 255 |
251 extern void ia64_write_pc (struct regcache *, CORE_ADDR); | 256 extern void ia64_write_pc (struct regcache *, CORE_ADDR); |
252 | 257 |
| 258 #ifdef HAVE_LIBUNWIND_IA64_H |
| 259 extern unw_accessors_t ia64_unw_accessors; |
| 260 extern unw_accessors_t ia64_unw_rse_accessors; |
| 261 extern struct libunwind_descr ia64_libunwind_descr; |
| 262 #endif |
| 263 |
253 #endif /* ia64-tdep.h */ | 264 #endif /* ia64-tdep.h */ |
OLD | NEW |