Add copyrights, change to FSF.
[deliverable/binutils-gdb.git] / gdb / vx-share / xdr_ptrace.h
index 35007b26eb93968037b0d6ab1f757cc650d97ebb..9b8a290e861088947ef99fbd2728776be26099a0 100644 (file)
@@ -1,17 +1,22 @@
 /* xdr_ptrace.h - xdr header for remote ptrace structures */
 
+/*  Copyright 1992 Free Software Foundation, Inc.
+
+    This code was donated by Wind River Systems, Inc. */
+
 /*
 modification history
 --------------------
+01b,25may91,maf  now uses counted bytes struct to transfer registers;
+                  removed references to old xdr_regs functions.
+                removed includes of "xdr_regs.h" and "reg.h".
 01a,05jun90,llk  extracted from xdr_ptrace.h.
 */
 
 
-#include "xdr_regs.h"
-#include "reg.h"
-
 /*
  *  Counted byte structure used by READ/WRITE TEXT/DATA
+ *  and GET/SET REGS/FPREGS
  */
 struct c_bytes {
        u_int   len;
@@ -24,17 +29,13 @@ typedef struct c_bytes C_bytes;
  */
 enum ptype {
        NOINFO = 0,             /* no additional infomation     */
-       REGS = 1,               /* regs         (SETREGS)       */
-       FPREGS = 2,             /* fp_status    (SETFPREGS)     */
-       FPAREGS = 3,            /* fpa_regs     (SETFPAREGS)    */
-       DATA = 4                /* c_bytes      (WRITETEXT/DATA)*/
+       DATA = 1                /* c_bytes */
 };
 typedef enum ptype ptype;
 
 /*
  * discrimnated union for passing additional data to be 
- * written to the debugged process. With the exception of
- * c_bytes, the structures are defined in <machine/reg.h>
+ * written to the debugged process.
  */
 struct ptrace_info {
        ptype   ttype;
@@ -52,6 +53,7 @@ struct rptrace {
        Ptrace_info     info;
 };
 typedef struct rptrace Rptrace;
+
 /*
  * structure returned by server on all remote ptrace calls
  */
This page took 0.023292 seconds and 4 git commands to generate.