aboutsummaryrefslogtreecommitdiff
path: root/gdb/vx-share/xdr_ptrace.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-04-14 21:34:01 +0000
committerStu Grossman <grossman@cygnus>1992-04-14 21:34:01 +0000
commit8616205a75594574f603d2cd52c5db7fbe3747f2 (patch)
tree6b60e079ee08e07f0f39ccd5345a677d112e1993 /gdb/vx-share/xdr_ptrace.h
parentb6422192ea9a1bdeb5aaf4aafc81bf166162c894 (diff)
downloadgdb-8616205a75594574f603d2cd52c5db7fbe3747f2.zip
gdb-8616205a75594574f603d2cd52c5db7fbe3747f2.tar.gz
gdb-8616205a75594574f603d2cd52c5db7fbe3747f2.tar.bz2
* remote-vx.c, vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h,
vx-share/xdr_rdb.h: Update for new remote protocol under VxWorks 5.0.2.
Diffstat (limited to 'gdb/vx-share/xdr_ptrace.h')
-rw-r--r--gdb/vx-share/xdr_ptrace.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/gdb/vx-share/xdr_ptrace.h b/gdb/vx-share/xdr_ptrace.h
index 35007b2..7810207 100644
--- a/gdb/vx-share/xdr_ptrace.h
+++ b/gdb/vx-share/xdr_ptrace.h
@@ -3,15 +3,16 @@
/*
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 +25,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 +49,7 @@ struct rptrace {
Ptrace_info info;
};
typedef struct rptrace Rptrace;
+
/*
* structure returned by server on all remote ptrace calls
*/