On Mon, Apr 5, 2010 at 11:36 AM, Arun Sharma <[email protected]> wrote:

> On Mon, Apr 5, 2010 at 7:03 AM, Konstantin Belousov 
> <[email protected]>wrote:
>
>>
>> It shall not appear in config.h. What I did is created a macro that
>> accept a list of PTRACE_* or PT_* identifiers and generates proper
>> AC_CHECK_DECLS() calls. The individual HAVE_DECL_PTRACE_something or
>> HAVE_DECL_PT_something defines are still there.
>>
>
> Compilation fails on Linux as follows:
>
> ptrace/_UPT_access_fpreg.c:104:2: error: #error Fix me
> make[2]: *** [ptrace/_UPT_access_fpreg.o] Error 1
>
> i.e. HAVE_DECL_PTRACE_* doesn't seem to be defined anywhere.
>
>
The attached patch works for me on both Linux and FreeBSD.

 -Arun

Attachment: patch
Description: Binary data

_______________________________________________
Libunwind-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to