From: Roland McGrath Date: Thu, 30 Jan 2003 20:15:19 +0000 (+0000) Subject: 2003-01-23 Roland McGrath X-Git-Tag: v4.5.18~825 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4db2624c8f6ec2c6f204c945df349bf42a897d01;p=strace 2003-01-23 Roland McGrath * util.c [LINUX && SPARC]: Do renaming kludges around like signal.c does. --- diff --git a/util.c b/util.c index 7b626206..8343e242 100644 --- a/util.c +++ b/util.c @@ -72,7 +72,13 @@ #if defined(LINUX) && defined(SPARC) -#include +# define fpq kernel_fpq +# define fq kernel_fq +# define fpu kernel_fpu +# include +# undef fpq +# undef fq +# undef fpu #if !defined(__GLIBC__) @@ -608,7 +614,8 @@ char *laddr; /* Ran into 'end of memory' - stupid "printpath" */ return 0; } - perror("ptrace: umoven"); + if (addr != 0) + perror("ptrace: umoven"); return -1; } started = 1;