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