]>
Commit | Line | Data |
---|---|---|
dd3b648e RP |
1 | /* Parameters for execution on a Sun, for GDB, the GNU debugger. |
2 | Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc. | |
3 | ||
4 | This file is part of GDB. | |
5 | ||
99a7de40 | 6 | This program is free software; you can redistribute it and/or modify |
dd3b648e | 7 | it under the terms of the GNU General Public License as published by |
99a7de40 JG |
8 | the Free Software Foundation; either version 2 of the License, or |
9 | (at your option) any later version. | |
dd3b648e | 10 | |
99a7de40 | 11 | This program is distributed in the hope that it will be useful, |
dd3b648e RP |
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. | |
15 | ||
16 | You should have received a copy of the GNU General Public License | |
99a7de40 JG |
17 | along with this program; if not, write to the Free Software |
18 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
dd3b648e RP |
19 | |
20 | #define HAVE_68881 | |
21 | ||
39d2bcca JK |
22 | /* TARGET_SUN3 might be a more logical name, but that's used by |
23 | ../include/target.h (included by ../include/a.out.gnu.h). */ | |
24 | #define GDB_TARGET_IS_SUN3 1 | |
696d660b | 25 | |
dd3b648e RP |
26 | /* Define this if the C compiler puts an underscore at the front |
27 | of external names before giving them to the linker. */ | |
28 | ||
29 | #define NAMES_HAVE_UNDERSCORE | |
30 | ||
31 | /* Debugger information will be in DBX format. */ | |
32 | ||
33 | #define READ_DBX_FORMAT | |
34 | ||
35 | /* Address of the end of stack space. We get this from the system | |
36 | include files. */ | |
84d82b1c | 37 | |
dd3b648e RP |
38 | #include <sys/types.h> |
39 | #include <machine/vmparam.h> | |
40 | #define STACK_END_ADDR USRSTACK | |
dd3b648e | 41 | |
84d82b1c | 42 | #include "tm-68k.h" |
b0077123 JG |
43 | SWAP_TARGET_AND_HOST (temp, 4); \ |
44 | bcopy ((char *)&temp, (char *)(dummyname) + 20, 4); \ | |
45 | temp = fun; \ | |
46 | SWAP_TARGET_AND_HOST (temp, 4); \ | |
47 | bcopy ((char *)&temp, (char *)(dummyname) + 14, 4); } |