[RFA]: Patch to handle new libunwind release
Jeff Johnston
jjohnstn@redhat.com
Fri Aug 6 18:44:00 GMT 2004
Andrew Cagney wrote:
>> The attached patch changes libunwind-frame.c to dlopen
>> "libunwind-xxxx.so" instead of "libunwind.so". This is needed as the
>> design has changed in libunwind 0.97 and the interface functions are
>> no longer found in the vanilla library. Without the patch, ia64
>> debugging will revert to the examine prologue method which cannot
>> handle a number of scenarios, including backtraces on threads.
>>
>> Tested on ia64 with libunwind-0.96 and libunwind-0.97.
>>
>> Ok to commit?
>>
>> 2004-07-28 Jeff Johnston <jjohnstn@redhat.com>
>>
>> * libunwind-frame.c (LIBUNWIND_SO): Change to be of form:
>> libunwind-xxxx.so" where xxxx is UNW_TARGET.
>>
>
> I feel ill
>
> +#ifndef LIBUNWIND_SO
> +#define LIBUNWIND_SO "libunwind-" STRINGIFY(UNW_TARGET) ".so"
> +#endif
>
> however, we've clearly got no choice, so "obvious".
>
> Andrew
>
Patch checked in. Thanks.
-- Jeff J.
>
>
More information about the Gdb-patches
mailing list