1 /* Parameters for target machine Hewlett-Packard 9000/300, running bsd.
2 Copyright 1986, 1987, 1989, 1991, 1992, 1993 Free Software Foundation, Inc.
4 This file is part of GDB.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
20 /* Configuration file for HP9000/300 series machine running BSD,
21 including Utah, Mt. Xinu or Berkeley variants. This is NOT for HP-UX.
22 Problems to hpbsd-bugs@cs.utah.edu. */
24 /* Define BPT_VECTOR if it is different than the default.
25 This is the vector number used by traps to indicate a breakpoint. */
27 #define BPT_VECTOR 0x2
29 #define TARGET_NBPG 4096
31 /* For 4.4 this would be 2, but it is OK for us to detect an area a
32 bit bigger than necessary. This way the same gdb binary can target
35 #define TARGET_UPAGES 3
37 /* On the HP300, sigtramp is in the u area. Gak! User struct is not
38 mapped to the same virtual address in user/kernel address space
39 (hence STACK_END_ADDR as opposed to KERNEL_U_ADDR). This tests
40 for the whole u area, since we don't necessarily have hp300bsd
41 include files around. */
43 /* For 4.4, it is actually right 20 bytes *before* STACK_END_ADDR, so
44 include that in the area we test for. */
46 #define SIGTRAMP_START (STACK_END_ADDR - 20)
47 #define SIGTRAMP_END (STACK_END_ADDR + TARGET_UPAGES * TARGET_NBPG)
49 /* Address of end of stack space. */
51 #define STACK_END_ADDR 0xfff00000
53 #include "m68k/tm-m68k.h"
This page took 0.030284 seconds and 4 git commands to generate.