From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30586 invoked by alias); 20 Aug 2011 19:45:37 -0000 Received: (qmail 30578 invoked by uid 22791); 20 Aug 2011 19:45:36 -0000 X-SWARE-Spam-Status: No, hits=-7.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 20 Aug 2011 19:45:07 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p7KJj7AU032432 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 20 Aug 2011 15:45:07 -0400 Received: from host1.jankratochvil.net (ovpn-116-42.ams2.redhat.com [10.36.116.42]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p7KJj5J4022934 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 20 Aug 2011 15:45:06 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p7KJj41R021631; Sat, 20 Aug 2011 21:45:04 +0200 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p7KJj3bq021630; Sat, 20 Aug 2011 21:45:03 +0200 Date: Sat, 20 Aug 2011 19:45:00 -0000 From: Jan Kratochvil To: Mark Kettenis Cc: sanjoy@playingwithpointers.com, gdb-patches@sourceware.org Subject: Re: [PATCH 5/6] New JIT unwinder. Message-ID: <20110820194503.GA21581@host1.jankratochvil.net> References: <1313821635-22137-1-git-send-email-sanjoy@playingwithpointers.com> <1313821635-22137-6-git-send-email-sanjoy@playingwithpointers.com> <20110820175838.GC26447@host1.jankratochvil.net> <201108201829.p7KITqt7024731@glazunov.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201108201829.p7KITqt7024731@glazunov.sibelius.xs4all.nl> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-08/txt/msg00406.txt.bz2 On Sat, 20 Aug 2011 20:29:52 +0200, Mark Kettenis wrote: > > Couldn't GDB just export these functions to the plugin without having to use > > the callbacks vector? Python does so, libthread_db does so (see > > proc-service.list). > > I'd say that's a bad idea. The --dynamic-list linker option isn't > uniformly available, and even -rdynamic may not work everywehere. But neither glibc libthread_db nor Python works there. But it is true I heard some platforms have problems creating libraries with referenced unresolved by any other library. Jan