1 /* Native support for SCO OpenServer 5 2 Copyright 1996 Free Software Foundation, Inc. 3 By Robert Lipe <robertl@dgii.com>. Based on 4 work by Ian Lance Taylor <ian@cygnus.com. and 5 Martin Walker <maw@netcom.com>. 6 7 This file is part of GDB. 8 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. 13 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. 18 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ 22 23 /* SCO OpenServer 5 is a superset of 3.2v4. It is actually quite 24 close to SVR4 [ elf, dynamic libes, mmap ] but misses a few things 25 like /proc. */ 26 27 #include "i386/nm-i386sco.h" 28 29 /* Since the native compilers [ and linkers ] are licensed from USL, 30 we'll try convincing GDB of this... */ 31 32 #include "solib.h" /* Pick up shared library support */ 33 #define SVR4_SHARED_LIBS 34 35 #define ATTACH_DETACH 36 37 /* SCO, does not provide <sys/ptrace.h>. infptrace.c does not 38 have defaults for these values. */ 39 40 #define PTRACE_ATTACH 10 41 #define PTRACE_DETACH 11 42