diff options
Diffstat (limited to 'gdb/vx-share/xdr_ptrace.h')
-rw-r--r-- | gdb/vx-share/xdr_ptrace.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/vx-share/xdr_ptrace.h b/gdb/vx-share/xdr_ptrace.h index 9b8a290..9b4eb2b 100644 --- a/gdb/vx-share/xdr_ptrace.h +++ b/gdb/vx-share/xdr_ptrace.h @@ -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; |