[PATCH] Check for additional PTRACE options, events, etc.

Steve Bennett steveb at workware.net.au
Tue Jul 19 06:24:37 UTC 2011


On 19/07/2011, at 5:32 AM, Andreas Schwab wrote:
> 
> Steve Bennett <steveb-Sr3WRjsTenvtt0EhB6fy4g at public.gmane.org> writes:
> 
>> @@ -306,16 +306,7 @@ AC_CHECK_MEMBERS([struct sigcontext.sc_hi2],,, [#include <signal.h>
>> 
>> AC_CHECK_DECLS([sys_errlist])
>> AC_CHECK_DECLS([sys_siglist, _sys_siglist],,, [#include <signal.h>])
>> -AC_CHECK_DECLS([\
>> -		PTRACE_SETOPTIONS, \
>> -		PTRACE_GETEVENTMSG, \
>> -		PTRACE_GETSIGINFO, \
>> -		PTRACE_O_TRACEFORK, \
>> -		PTRACE_O_TRACEVFORK, \
>> -		PTRACE_O_TRACECLONE, \
>> -		PTRACE_EVENT_FORK, \
>> -		PTRACE_EVENT_VFORK, \
>> -		PTRACE_EVENT_CLONE],,, [#include <sys/ptrace.h>])
>> +AC_CHECK_DECLS([PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_O_TRACEFORK, PTRACE_O_TRACEVFORK, PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXEC, PTRACE_O_TRACESYSGOOD, PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK, PTRACE_EVENT_VFORK_DONE, PTRACE_EVENT_EXEC, PTRACE_EVENT_EXIT, PTRACE_EVENT_CLONE],,, [#include <sys/ptrace.h>])
> 
> Just remove the backslashes.
> 
> Andreas.

Good to know that *someone* understand the m4 quoting rules.
Is it worth updating the patch. Is anyone going to apply this?
Denis?

--
µWeb: Embedded Web Framework - http://uweb.workware.net.au/
WorkWare Systems Pty Ltd
W: www.workware.net.au      P: +61 434 921 300
E: steveb at workware.net.au   F: +61 7 3391 6002









More information about the Strace-devel mailing list