From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25866 invoked by alias); 4 Aug 2004 18:17:39 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 25856 invoked from network); 4 Aug 2004 18:17:38 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 4 Aug 2004 18:17:38 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i74IHbe3006254 for ; Wed, 4 Aug 2004 14:17:38 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i74IHba08994; Wed, 4 Aug 2004 14:17:37 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 5FAFA2B9D; Wed, 4 Aug 2004 14:17:31 -0400 (EDT) Message-ID: <4111283B.9000902@gnu.org> Date: Wed, 04 Aug 2004 18:17:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040801 MIME-Version: 1.0 To: Jeff Johnston Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA]: Patch to handle new libunwind release References: <410FB16F.80107@redhat.com> In-Reply-To: <410FB16F.80107@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00091.txt.bz2 > 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 > > * 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