2003-04-05 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / config / pa / tm-hppah.h
1 /* Parameters for execution on an HP PA-RISC machine, running HPUX, for GDB.
2 Copyright 1991, 1992, 1995, 1998 Free Software Foundation, Inc.
3
4 Contributed by the Center for Software Science at the
5 University of Utah (pa-gdb-bugs@cs.utah.edu).
6
7 This file is part of GDB.
8
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
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place - Suite 330,
22 Boston, MA 02111-1307, USA. */
23
24 /* The solib hooks are not really designed to have a list of hook
25 and handler routines. So until we clean up those interfaces you
26 either get SOM shared libraries or HP's unusual PA64 ELF shared
27 libraries, but not both. */
28 #ifdef GDB_TARGET_IS_HPPA_20W
29 #include "pa64solib.h"
30 #endif
31
32 #ifndef GDB_TARGET_IS_HPPA_20W
33 #include "somsolib.h"
34 #endif
35
36 extern int hppa_hpux_pc_in_sigtramp (CORE_ADDR pc, char *name);
37 #define PC_IN_SIGTRAMP(pc, name) hppa_hpux_pc_in_sigtramp (pc, name)
38
39 extern void hppa_hpux_frame_saved_pc_in_sigtramp (struct frame_info *fi,
40 CORE_ADDR *tmp);
41 #define FRAME_SAVED_PC_IN_SIGTRAMP(FRAME, TMP) \
42 hppa_hpux_frame_saved_pc_in_sigtramp (FRAME, TMP)
43
44 extern void hppa_hpux_frame_base_before_sigtramp (struct frame_info *fi,
45 CORE_ADDR *tmp);
46 #define FRAME_BASE_BEFORE_SIGTRAMP(FRAME, TMP) \
47 hppa_hpux_frame_base_before_sigtramp (FRAME, TMP)
48
49 extern void hppa_hpux_frame_find_saved_regs_in_sigtramp
50 (struct frame_info *fi, CORE_ADDR *fsr);
51 #define FRAME_FIND_SAVED_REGS_IN_SIGTRAMP(FRAME, FSR) \
52 hppa_hpux_frame_find_saved_regs_in_sigtramp (FRAME, FSR)
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"
This page took 0.03541 seconds and 4 git commands to generate.