| 1 | /* Parameters for execution on any Hewlett-Packard PA-RISC machine. |
| 2 | Copyright 1986, 1987, 1989, 1990, 1991, 1992, 1993, 1995, 1999, 2000 |
| 3 | Free Software Foundation, Inc. |
| 4 | |
| 5 | Contributed by the Center for Software Science at the |
| 6 | University of Utah (pa-gdb-bugs@cs.utah.edu). |
| 7 | |
| 8 | This file is part of GDB. |
| 9 | |
| 10 | This program is free software; you can redistribute it and/or modify |
| 11 | it under the terms of the GNU General Public License as published by |
| 12 | the Free Software Foundation; either version 2 of the License, or |
| 13 | (at your option) any later version. |
| 14 | |
| 15 | This program is distributed in the hope that it will be useful, |
| 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | GNU General Public License for more details. |
| 19 | |
| 20 | You should have received a copy of the GNU General Public License |
| 21 | along with this program; if not, write to the Free Software |
| 22 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
| 23 | |
| 24 | /* PA 64-bit specific definitions. Override those which are in |
| 25 | tm-hppa.h */ |
| 26 | |
| 27 | struct frame_info; |
| 28 | |
| 29 | /* jimb: this must go. I'm just using it to disable code I haven't |
| 30 | gotten working yet. */ |
| 31 | #define GDB_TARGET_IS_HPPA_20W |
| 32 | |
| 33 | /* NOTE: cagney/2003-07-27: Using CC='cc +DA2.0W -Ae' configure |
| 34 | hppa64-hp-hpux11.00; GDB managed to build / start / break main / |
| 35 | run with multi-arch enabled. Not sure about much else as there |
| 36 | appears to be an unrelated problem in the SOM symbol table reader |
| 37 | causing GDB to lose line number information. Since prior to this |
| 38 | switch and a other recent tweaks, 64 bit PA hadn't been building |
| 39 | for some months, this is probably the lesser of several evils. */ |
| 40 | |
| 41 | #include "pa/tm-hppah.h" |
| 42 | |
| 43 | #undef FP4_REGNUM |
| 44 | #define FP4_REGNUM 68 |
| 45 | #define AP_REGNUM 29 /* Argument Pointer Register */ |
| 46 | #define DP_REGNUM 27 |
| 47 | #define FP5_REGNUM 70 |
| 48 | #define SR5_REGNUM 48 |
| 49 | |
| 50 | |
| 51 | /* jimb: omitted dynamic linking stuff here */ |
| 52 | |
| 53 | #undef FUNC_LDIL_OFFSET |
| 54 | #undef FUNC_LDO_OFFSET |
| 55 | #undef SR4EXPORT_LDIL_OFFSET |
| 56 | #undef SR4EXPORT_LDO_OFFSET |
| 57 | |
| 58 | /* jimb: omitted purify call support */ |