1 /* Native support for i386 running System V (pre-SVR4).
3 Copyright 1986, 1987, 1989, 1992, 1993, 1998, 2000, 2002
4 Free Software Foundation, Inc.
5 Changes for 80386 by Pace Willisson (pace@prep.ai.mit.edu), July 1988.
7 This file is part of GDB.
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place - Suite 330,
22 Boston, MA 02111-1307, USA. */
27 /* Support for the user struct. */
29 /* This is the amount to subtract from u.u_ar0
30 to get the offset in the core file of the register values. */
32 #define REGISTER_U_ADDR(addr, blockend, regnum) \
33 (addr) = register_u_addr ((blockend), (regnum))
34 extern CORE_ADDR
register_u_addr (CORE_ADDR blockend
, int regnum
);
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 #define KERNEL_U_ADDR 0xe0000000
40 /* Number of traps that happen between exec'ing the shell to run an
41 inferior, and when we finally get to the inferior code. This is 2
42 on most implementations. Override here to 4. */
44 #undef START_INFERIOR_TRAPS_EXPECTED
45 #define START_INFERIOR_TRAPS_EXPECTED 4
47 #endif /* nm-i386v.h */
This page took 0.037765 seconds and 4 git commands to generate.