]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/config/pa/tm-hppah.h
2003-04-12 Andrew Cagney <cagney@redhat.com>
[thirdparty/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 struct frame_info;
25
26 /* The solib hooks are not really designed to have a list of hook
27 and handler routines. So until we clean up those interfaces you
28 either get SOM shared libraries or HP's unusual PA64 ELF shared
29 libraries, but not both. */
30 #ifdef GDB_TARGET_IS_HPPA_20W
31 #include "pa64solib.h"
32 #endif
33
34 #ifndef GDB_TARGET_IS_HPPA_20W
35 #include "somsolib.h"
36 #endif
37
38 extern int hppa_hpux_pc_in_sigtramp (CORE_ADDR pc, char *name);
39 #define PC_IN_SIGTRAMP(pc, name) hppa_hpux_pc_in_sigtramp (pc, name)
40
41 extern void hppa_hpux_frame_saved_pc_in_sigtramp (struct frame_info *fi,
42 CORE_ADDR *tmp);
43 #define FRAME_SAVED_PC_IN_SIGTRAMP(FRAME, TMP) \
44 hppa_hpux_frame_saved_pc_in_sigtramp (FRAME, TMP)
45
46 extern void hppa_hpux_frame_base_before_sigtramp (struct frame_info *fi,
47 CORE_ADDR *tmp);
48 #define FRAME_BASE_BEFORE_SIGTRAMP(FRAME, TMP) \
49 hppa_hpux_frame_base_before_sigtramp (FRAME, TMP)
50
51 extern void hppa_hpux_frame_find_saved_regs_in_sigtramp
52 (struct frame_info *fi, CORE_ADDR *fsr);
53 #define FRAME_FIND_SAVED_REGS_IN_SIGTRAMP(FRAME, FSR) \
54 hppa_hpux_frame_find_saved_regs_in_sigtramp (FRAME, FSR)
55
56 /* For HP-UX on PA-RISC we have an implementation
57 for the exception handling target op (in hppa-tdep.c) */
58 #define CHILD_ENABLE_EXCEPTION_CALLBACK
59 #define CHILD_GET_CURRENT_EXCEPTION_EVENT
60
61 /* Mostly it's common to all HPPA's. */
62 #include "pa/tm-hppa.h"