diff options
author | Jim Wilson <wilson@tuliptree.org> | 1998-11-06 03:02:44 +0000 |
---|---|---|
committer | Jim Wilson <wilson@tuliptree.org> | 1998-11-06 03:02:44 +0000 |
commit | e5fddd378d17291683922da7ab53d57d35c1e4ad (patch) | |
tree | 383622c88937d7a5648acf36ae7156a7c6004bc4 /gdb/vx-share/xdr_ptrace.c | |
parent | 47a214450370a0b132c9308ca0c4029d29a84dfa (diff) | |
download | gdb-e5fddd378d17291683922da7ab53d57d35c1e4ad.zip gdb-e5fddd378d17291683922da7ab53d57d35c1e4ad.tar.gz gdb-e5fddd378d17291683922da7ab53d57d35c1e4ad.tar.bz2 |
Patches to fix linux-x-i960-vxworks5.0 build failure.
* remote-vx.c (net_read_registers, net_write_registers, vx_xver_memory,
vx_resume, vx_attach, vx_detach, vx_kill): Change errno to errno_num.
* vx-share/xdr_ptrace.c (xdr_ptrace_return): Likewise.
* vx-share/xdr_ptrace.h (struct ptrace_return): Likewise.
Diffstat (limited to 'gdb/vx-share/xdr_ptrace.c')
-rw-r--r-- | gdb/vx-share/xdr_ptrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/vx-share/xdr_ptrace.c b/gdb/vx-share/xdr_ptrace.c index 6c9c8a2..fff4324 100644 --- a/gdb/vx-share/xdr_ptrace.c +++ b/gdb/vx-share/xdr_ptrace.c @@ -109,7 +109,7 @@ bool_t xdr_ptrace_return(xdrs, objp) { if (! xdr_int(xdrs, &objp->status)) return(FALSE); - if (! xdr_int(xdrs, &objp->errno)) + if (! xdr_int(xdrs, &objp->errno_num)) return(FALSE); if (! xdr_ptrace_info(xdrs, &objp->info)) return(FALSE); |