]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/config/pa/tm-hppa.h
2004-06-07 Andrew Cagney <cagney@gnu.org>
[thirdparty/binutils-gdb.git] / gdb / config / pa / tm-hppa.h
1 /* Parameters for execution on any Hewlett-Packard PA-RISC machine.
2
3 Copyright 1986, 1987, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
4 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
5 Foundation, Inc.
6
7 Contributed by the Center for Software Science at the
8 University of Utah (pa-gdb-bugs@cs.utah.edu).
9
10 This file is part of GDB.
11
12 This program is free software; you can redistribute it and/or modify
13 it under the terms of the GNU General Public License as published by
14 the Free Software Foundation; either version 2 of the License, or
15 (at your option) any later version.
16
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License for more details.
21
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, write to the Free Software
24 Foundation, Inc., 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA. */
26
27 #include "regcache.h"
28
29 #define GDB_MULTI_ARCH 1
30
31 extern int hppa_pc_requires_run_before_use (CORE_ADDR pc);
32 #define DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE(pc) hppa_pc_requires_run_before_use (pc)
33
34 /* PA specific macro to see if the current instruction is nullified. */
35 #ifndef INSTRUCTION_NULLIFIED
36 extern int hppa_instruction_nullified (void);
37 #define INSTRUCTION_NULLIFIED hppa_instruction_nullified ()
38 #endif
39
40 /* Here's how to step off a permanent breakpoint. */
41 #define SKIP_PERMANENT_BREAKPOINT (hppa_skip_permanent_breakpoint)
42 extern void hppa_skip_permanent_breakpoint (void);
43
44 /* On HP-UX, certain system routines (millicode) have names beginning
45 with $ or $$, e.g. $$dyncall, which handles inter-space procedure
46 calls on PA-RISC. Tell the expression parser to check for those
47 when parsing tokens that begin with "$". */
48 #define SYMBOLS_CAN_START_WITH_DOLLAR (1)