diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2004-05-21 20:23:44 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2004-05-21 20:23:44 +0000 |
commit | 54c8dbbf02ab898df1251a6323efffebe68c55e0 (patch) | |
tree | 32e0c38ddde06552627ea6acab0da40618c89575 /gnu/usr.bin/binutils/gdb/vx-share/xdr_ptrace.h | |
parent | 7069eb4ee48ce3c8978f86920c62292e57f239da (diff) |
Resolve conflicts for GDB 6.1. Add local patches.
ok deraadt@
Diffstat (limited to 'gnu/usr.bin/binutils/gdb/vx-share/xdr_ptrace.h')
-rw-r--r-- | gnu/usr.bin/binutils/gdb/vx-share/xdr_ptrace.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/gdb/vx-share/xdr_ptrace.h b/gnu/usr.bin/binutils/gdb/vx-share/xdr_ptrace.h index 9b8a290e861..0ff57a98c33 100644 --- a/gnu/usr.bin/binutils/gdb/vx-share/xdr_ptrace.h +++ b/gnu/usr.bin/binutils/gdb/vx-share/xdr_ptrace.h @@ -1,6 +1,6 @@ /* xdr_ptrace.h - xdr header for remote ptrace structures */ -/* Copyright 1992 Free Software Foundation, Inc. +/* Copyright 1992, 1998 Free Software Foundation, Inc. This code was donated by Wind River Systems, Inc. */ @@ -57,9 +57,11 @@ typedef struct rptrace Rptrace; /* * structure returned by server on all remote ptrace calls */ +/* This used to have a field called errno, but that fails on hosts which + define errno to be a macro, so it was changed to errno_num. */ struct ptrace_return { int status; - int errno; + int errno_num; Ptrace_info info; }; typedef struct ptrace_return Ptrace_return; |