2004-09-16 Andrew Cagney <cagney@gnu.org>
[platform/upstream/binutils.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 extern int hppa_pc_requires_run_before_use (CORE_ADDR pc);
30 #define DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE(pc) hppa_pc_requires_run_before_use (pc)
31
32 /* PA specific macro to see if the current instruction is nullified. */
33 #ifndef INSTRUCTION_NULLIFIED
34 extern int hppa_instruction_nullified (void);
35 #define INSTRUCTION_NULLIFIED hppa_instruction_nullified ()
36 #endif
37
38 /* Here's how to step off a permanent breakpoint.  */
39 #define SKIP_PERMANENT_BREAKPOINT (hppa_skip_permanent_breakpoint)
40 extern void hppa_skip_permanent_breakpoint (void);
41
42 /* On HP-UX, certain system routines (millicode) have names beginning
43    with $ or $$, e.g. $$dyncall, which handles inter-space procedure
44    calls on PA-RISC.  Tell the expression parser to check for those
45    when parsing tokens that begin with "$".  */
46 #define SYMBOLS_CAN_START_WITH_DOLLAR (1)