diff options
author | John Gilmore <gnu@cygnus> | 1992-10-23 10:51:07 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-10-23 10:51:07 +0000 |
commit | f312afc75c29bd68bd772f73da9eaa04e2abd683 (patch) | |
tree | 50d85605cfdb2757b4ff7bcba02f6774ff04ba28 /gdb/vx-share/ptrace.h | |
parent | c00d8242d41732e975055e336765d897acbd74b2 (diff) | |
download | gdb-f312afc75c29bd68bd772f73da9eaa04e2abd683.zip gdb-f312afc75c29bd68bd772f73da9eaa04e2abd683.tar.gz gdb-f312afc75c29bd68bd772f73da9eaa04e2abd683.tar.bz2 |
These two files are copyrighted by Sun Microsystems.
Wind River stole them from the Sun Unix distributions.
We can't distribute them in an FSF GDB release.
We should even rewrite them for our own releases, though that is not
as urgent.
Until these two files are rewritten, VxWorks support in GDB will not compile.
The i960 support can be gained by just rewriting the ptrace.h file.
Only small amounts of the reg.h file need to be rebuilt -- compile
remote-vx.c to see what is needed.
John
Diffstat (limited to 'gdb/vx-share/ptrace.h')
-rw-r--r-- | gdb/vx-share/ptrace.h | 47 |
1 files changed, 5 insertions, 42 deletions
diff --git a/gdb/vx-share/ptrace.h b/gdb/vx-share/ptrace.h index 8e3554f..bdc0f0f 100644 --- a/gdb/vx-share/ptrace.h +++ b/gdb/vx-share/ptrace.h @@ -1,44 +1,7 @@ -/* @(#)ptrace.h 1.1 86/07/07 SMI */ +/* THIS FILE WAS `BORROWED' FROM A COPYRIGHTED + SUN MICROSYSTEMS INCLUDE FILE. IT NEEDS TO BE REBUILT FROM SCRATCH. -/* - * Copyright (c) 1985 by Sun Microsystems, Inc. + John Gilmore + Cygnus Support */ - -/* -modification history --------------------- -01a,05jun90,llk borrowed. -*/ - -#ifndef _PTRACE_ -#define _PTRACE_ - -/* - * Request values for the ptrace system call - */ -enum ptracereq { - PTRACE_TRACEME = 0, /* 0, by tracee to begin tracing */ - PTRACE_CHILDDONE = 0, /* 0, tracee is done with his half */ - PTRACE_PEEKTEXT, /* 1, read word from text segment */ - PTRACE_PEEKDATA, /* 2, read word from data segment */ - PTRACE_PEEKUSER, /* 3, read word from user struct */ - PTRACE_POKETEXT, /* 4, write word into text segment */ - PTRACE_POKEDATA, /* 5, write word into data segment */ - PTRACE_POKEUSER, /* 6, write word into user struct */ - PTRACE_CONT, /* 7, continue process */ - PTRACE_KILL, /* 8, terminate process */ - PTRACE_SINGLESTEP, /* 9, single step process */ - PTRACE_ATTACH, /* 10, attach to an existing process */ - PTRACE_DETACH, /* 11, detach from a process */ - PTRACE_GETREGS, /* 12, get all registers */ - PTRACE_SETREGS, /* 13, set all registers */ - PTRACE_GETFPREGS, /* 14, get all floating point regs */ - PTRACE_SETFPREGS, /* 15, set all floating point regs */ - PTRACE_READDATA, /* 16, read data segment */ - PTRACE_WRITEDATA, /* 17, write data segment */ - PTRACE_READTEXT, /* 18, read text segment */ - PTRACE_WRITETEXT, /* 19, write text segment */ - PTRACE_GETFPAREGS, /* 20, get all fpa regs */ - PTRACE_SETFPAREGS /* 21, set all fpa regs */ -}; -#endif !_PTRACE +FIXME |