Commit | Line | Data |
---|---|---|
2fbce691 AC |
1 | // OBSOLETE /* Definitions to make GDB run on a Sequent Symmetry under dynix 3.0, |
2 | // OBSOLETE with Weitek 1167 and i387 support. | |
3 | // OBSOLETE Copyright 1986, 1987, 1989, 1992, 1994, 1996, 1998, 2000 | |
4 | // OBSOLETE Free Software Foundation, Inc. | |
5 | // OBSOLETE | |
6 | // OBSOLETE This file is part of GDB. | |
7 | // OBSOLETE | |
8 | // OBSOLETE This program is free software; you can redistribute it and/or modify | |
9 | // OBSOLETE it under the terms of the GNU General Public License as published by | |
10 | // OBSOLETE the Free Software Foundation; either version 2 of the License, or | |
11 | // OBSOLETE (at your option) any later version. | |
12 | // OBSOLETE | |
13 | // OBSOLETE This program is distributed in the hope that it will be useful, | |
14 | // OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | // OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | // OBSOLETE GNU General Public License for more details. | |
17 | // OBSOLETE | |
18 | // OBSOLETE You should have received a copy of the GNU General Public License | |
19 | // OBSOLETE along with this program; if not, write to the Free Software | |
20 | // OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, | |
21 | // OBSOLETE Boston, MA 02111-1307, USA. */ | |
22 | // OBSOLETE | |
23 | // OBSOLETE #include "regcache.h" | |
24 | // OBSOLETE | |
25 | // OBSOLETE /* Override copies of {fetch,store}_inferior_registers in infptrace.c. */ | |
26 | // OBSOLETE | |
27 | // OBSOLETE #define FETCH_INFERIOR_REGISTERS | |
28 | // OBSOLETE | |
29 | // OBSOLETE /* We must fetch all the regs before storing, since we store all at once. */ | |
30 | // OBSOLETE | |
31 | // OBSOLETE #define CHILD_PREPARE_TO_STORE() deprecated_read_register_bytes (0, NULL, REGISTER_BYTES) | |
32 | // OBSOLETE | |
33 | // OBSOLETE #ifdef _SEQUENT_ | |
34 | // OBSOLETE #define CHILD_WAIT | |
35 | // OBSOLETE extern ptid_t child_wait (ptid_t, struct target_waitstatus *); | |
36 | // OBSOLETE #endif | |
37 | // OBSOLETE | |
38 | // OBSOLETE /* This is the amount to subtract from u.u_ar0 | |
39 | // OBSOLETE to get the offset in the core file of the register values. */ | |
40 | // OBSOLETE | |
41 | // OBSOLETE #ifdef _SEQUENT_ | |
42 | // OBSOLETE #include <sys/param.h> | |
43 | // OBSOLETE #include <sys/user.h> | |
44 | // OBSOLETE #include <sys/mc_vmparam.h> | |
45 | // OBSOLETE /* VA_UAREA is defined in <sys/mc_vmparam.h>, and is dependant upon | |
46 | // OBSOLETE sizeof(struct user) */ | |
47 | // OBSOLETE #define KERNEL_U_ADDR (VA_UAREA) /* ptx */ | |
48 | // OBSOLETE #else | |
49 | // OBSOLETE #define KERNEL_U_ADDR (0x80000000 - (UPAGES * NBPG)) /* dynix */ | |
50 | // OBSOLETE #endif |