]> Git Repo - binutils.git/blame - gdb/xm-sysv4.h
rcsid's removed
[binutils.git] / gdb / xm-sysv4.h
CommitLineData
0837376f
FF
1/* Definitions for running gdb on a host machine running any flavor of SVR4.
2 Copyright (C) 1991, Free Software Foundation, Inc.
3 Written by Fred Fish at Cygnus Support (fnf@cygint)
4
5This file is part of GDB.
6
7This program is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program; if not, write to the Free Software
19Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
20
a39ad5ce
FF
21/* Use SVR4 style shared library support */
22
23#define SVR4_SHARED_LIBS
24
0837376f
FF
25/* SVR4 has /proc support, so use it instead of ptrace. */
26
27#define USE_PROC_FS
28
29/* SVR4 has termio facilities. */
30
31#define HAVE_TERMIO
32
33/* TIOCGETC and TIOCGLTC are picked up somewhere, but struct tchars
34 and struct ltchars are not. This makes problems for inflow.c.
35 It is unknown at this time if this is a generic SVR4 problem or
36 one just limited to the initial SVR4 port host machine. */
37
38#define TIOCGETC_BROKEN
39#define TIOCGLTC_BROKEN
40
41/* SVR4 is a derivative of System V Release 3 (USG) */
42
43#define USG
44
45/* Get rid of any system-imposed stack limit if possible. */
46
47/* #define SET_STACK_LIMIT_HUGE */
48
49/* SVR4 machines can easily do attach and detach via /proc (procfs.c)
50 support */
51
52#define ATTACH_DETACH
53
54/* If we are using SVR4 /proc instead of ptrace, use CREATE_INFERIOR_HOOK
55 to do internal /proc initialization. */
56
57#ifdef USE_PROC_FS
58#define CREATE_INFERIOR_HOOK(pid) inferior_proc_init(pid)
59#endif
60
This page took 0.038355 seconds and 4 git commands to generate.