From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8715 invoked by alias); 20 Oct 2005 08:46:29 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 8571 invoked by uid 22791); 20 Oct 2005 08:46:26 -0000 Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 20 Oct 2005 08:46:26 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id j9K8k9Kn009049; Thu, 20 Oct 2005 10:46:09 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.4/8.13.3) with ESMTP id j9K8k9m0025778; Thu, 20 Oct 2005 10:46:09 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id j9K8k9ou011894; Thu, 20 Oct 2005 10:46:09 +0200 (CEST) Date: Thu, 20 Oct 2005 08:46:00 -0000 Message-Id: <200510200846.j9K8k9ou011894@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: jimb@redhat.com CC: gdb@sourceware.org In-reply-to: (message from Jim Blandy on Wed, 19 Oct 2005 17:16:46 -0700) Subject: Re: Why do we have two ways of finding sniffers? References: X-SW-Source: 2005-10/txt/msg00109.txt.bz2 > From: Jim Blandy > Date: Wed, 19 Oct 2005 17:16:46 -0700 > > I don't understand why we need both alternatives. Shouldn't it be > sufficient to simply have each entry in the list point to a function > that expects the next frame's frame_info and a prologue cache, and > returns a 'struct frame_unwind *' or zero? I don't think there is a *technical* reason why we need both alternatives. It's more a matter that we had (and still have to some extent) a pretty long list of basically unmainted targets. So converting frame_unwind_append_sniffer() into frame_unwind_append_unwinder() is difficult to accomplish. But you should really answer Andrew about this since he wrote that code. Mark