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