aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1991-09-17 08:10:16 +0000
committerStu Grossman <grossman@cygnus>1991-09-17 08:10:16 +0000
commit2b88cafe02536e92e4e0a2182d424be2941026a3 (patch)
tree49b4d60237a0f0e0335e718e03d615733124cb66 /gdb
parentacd551ee63752f3df81eac02140eab6d60848532 (diff)
downloadgdb-2b88cafe02536e92e4e0a2182d424be2941026a3.zip
gdb-2b88cafe02536e92e4e0a2182d424be2941026a3.tar.gz
gdb-2b88cafe02536e92e4e0a2182d424be2941026a3.tar.bz2
#include <sys/ptrace.h>
Diffstat (limited to 'gdb')
-rw-r--r--gdb/coredep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/coredep.c b/gdb/coredep.c
index 84808bd..e216eed 100644
--- a/gdb/coredep.c
+++ b/gdb/coredep.c
@@ -32,6 +32,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/user.h>
+#ifdef USG
+#include <sys/ptrace.h>
+#endif
/* Extract the register values out of the core file and store