1 /* Native support for SCO OpenServer 5
2 Copyright 1996, 1998 Free Software Foundation, Inc.
3 Re-written by J. Kean Johnston <jkj@sco.com>.
4 Originally written by Robert Lipe <robertl@dgii.com>, based on
5 work by Ian Lance Taylor <ian@cygnus.com> and
6 Martin Walker <maw@netcom.com>.
8 This file is part of GDB.
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2 of the License, or
13 (at your option) any later version.
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 59 Temple Place - Suite 330,
23 Boston, MA 02111-1307, USA. */
25 /* Basically, its a lot like the older versions ... */
26 #include "i386/nm-i386sco.h"
28 /* ... but it can do a lot of SVR4 type stuff too. */
29 #define SVR4_SHARED_LIBS
30 #include "solib.h" /* Pick up shared library support */
34 /* SCO does not provide <sys/ptrace.h>. infptrace.c does not
35 have defaults for these values. */
37 #define PTRACE_ATTACH 10
38 #define PTRACE_DETACH 11