aboutsummaryrefslogtreecommitdiff
path: root/gdb/vx-share/ptrace.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-12-10 03:56:36 +0000
committerJohn Gilmore <gnu@cygnus>1992-12-10 03:56:36 +0000
commitb69d8432550f45af18fb28437ff38da4820f1445 (patch)
tree8323163fa86dd4c0790e6dcc63fa99dd9c7e2d6e /gdb/vx-share/ptrace.h
parentd62e7a20d81a770917db0ad2c4921ef3dc802e77 (diff)
downloadgdb-b69d8432550f45af18fb28437ff38da4820f1445.zip
gdb-b69d8432550f45af18fb28437ff38da4820f1445.tar.gz
gdb-b69d8432550f45af18fb28437ff38da4820f1445.tar.bz2
* vx-share/{reg.h,xdr_regs.h,xdr_regs.c}: Remove, unused.
* remote-vx.c: Don't include vx-share/reg.h. * vx-share/ptrace.h: Reproduce from scratch.
Diffstat (limited to 'gdb/vx-share/ptrace.h')
-rw-r--r--gdb/vx-share/ptrace.h21
1 files changed, 15 insertions, 6 deletions
diff --git a/gdb/vx-share/ptrace.h b/gdb/vx-share/ptrace.h
index bdc0f0f..8f7b057 100644
--- a/gdb/vx-share/ptrace.h
+++ b/gdb/vx-share/ptrace.h
@@ -1,7 +1,16 @@
-/* THIS FILE WAS `BORROWED' FROM A COPYRIGHTED
- SUN MICROSYSTEMS INCLUDE FILE. IT NEEDS TO BE REBUILT FROM SCRATCH.
+/* Ptrace request codes implemented by the VxWorks remote debug protocol.
+ These values match those used by SunOS in some old release. */
- John Gilmore
- Cygnus Support
- */
-FIXME
+enum ptracereq {
+ PTRACE_GETREGS = 12,
+ PTRACE_GETFPREGS = 14,
+ PTRACE_SETREGS = 13,
+ PTRACE_SETFPREGS = 15,
+ PTRACE_WRITEDATA = 17,
+ PTRACE_READDATA = 16,
+ PTRACE_SINGLESTEP = 9,
+ PTRACE_CONT = 7,
+ PTRACE_ATTACH = 10,
+ PTRACE_DETACH = 11,
+ PTRACE_KILL = 8 /* no trailing comma */
+};