]>
Commit | Line | Data |
---|---|---|
c906108c | 1 | /* Parameters for execution on an HP PA-RISC machine, running HPUX, for GDB. |
848c5feb MC |
2 | Copyright 1991, 1992, 1995, 1998, 2002, 2003 |
3 | Free Software Foundation, Inc. | |
c906108c SS |
4 | |
5 | Contributed by the Center for Software Science at the | |
6 | University of Utah (pa-gdb-bugs@cs.utah.edu). | |
7 | ||
c5aa993b JM |
8 | This file is part of GDB. |
9 | ||
10 | This program is free software; you can redistribute it and/or modify | |
11 | it under the terms of the GNU General Public License as published by | |
12 | the Free Software Foundation; either version 2 of the License, or | |
13 | (at your option) any later version. | |
14 | ||
15 | This program is distributed in the hope that it will be useful, | |
16 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 | GNU General Public License for more details. | |
19 | ||
20 | You should have received a copy of the GNU General Public License | |
21 | along with this program; if not, write to the Free Software | |
22 | Foundation, Inc., 59 Temple Place - Suite 330, | |
23 | Boston, MA 02111-1307, USA. */ | |
c906108c | 24 | |
da3331ec AC |
25 | struct frame_info; |
26 | ||
7be570e7 JM |
27 | /* The solib hooks are not really designed to have a list of hook |
28 | and handler routines. So until we clean up those interfaces you | |
29 | either get SOM shared libraries or HP's unusual PA64 ELF shared | |
30 | libraries, but not both. */ | |
31 | #ifdef GDB_TARGET_IS_HPPA_20W | |
32 | #include "pa64solib.h" | |
33 | #endif | |
34 | ||
35 | #ifndef GDB_TARGET_IS_HPPA_20W | |
c906108c | 36 | #include "somsolib.h" |
7be570e7 | 37 | #endif |
c906108c | 38 | |
60e1ff27 JB |
39 | extern void hppa_hpux_frame_saved_pc_in_sigtramp (struct frame_info *fi, |
40 | CORE_ADDR *tmp); | |
c906108c | 41 | #define FRAME_SAVED_PC_IN_SIGTRAMP(FRAME, TMP) \ |
3ff7cf9e | 42 | hppa32_hpux_frame_saved_pc_in_sigtramp (FRAME, TMP) |
c906108c | 43 | |
60e1ff27 JB |
44 | extern void hppa_hpux_frame_base_before_sigtramp (struct frame_info *fi, |
45 | CORE_ADDR *tmp); | |
c906108c | 46 | #define FRAME_BASE_BEFORE_SIGTRAMP(FRAME, TMP) \ |
3ff7cf9e | 47 | hppa32_hpux_frame_base_before_sigtramp (FRAME, TMP) |
c906108c | 48 | |
60e1ff27 | 49 | extern void hppa_hpux_frame_find_saved_regs_in_sigtramp |
43bd9a9e | 50 | (struct frame_info *fi, CORE_ADDR *fsr); |
c906108c | 51 | #define FRAME_FIND_SAVED_REGS_IN_SIGTRAMP(FRAME, FSR) \ |
3ff7cf9e | 52 | hppa32_hpux_frame_find_saved_regs_in_sigtramp (FRAME, FSR) |
c906108c SS |
53 | |
54 | /* For HP-UX on PA-RISC we have an implementation | |
55 | for the exception handling target op (in hppa-tdep.c) */ | |
56 | #define CHILD_ENABLE_EXCEPTION_CALLBACK | |
57 | #define CHILD_GET_CURRENT_EXCEPTION_EVENT | |
58 | ||
59 | /* Mostly it's common to all HPPA's. */ | |
60 | #include "pa/tm-hppa.h" |