From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9318 invoked by alias); 8 Oct 2003 18:27:34 -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 9311 invoked from network); 8 Oct 2003 18:27:33 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 8 Oct 2003 18:27:33 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 971D82B89; Wed, 8 Oct 2003 14:27:32 -0400 (EDT) Message-ID: <3F845714.4070207@redhat.com> Date: Wed, 08 Oct 2003 18:27:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Roland McGrath Cc: Michael Snyder , gdb-patches@sources.redhat.com Subject: Re: unwind support for Linux 2.6 vsyscall DSO References: <200310080046.h980kZpD009328@magilla.sf.frob.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00235.txt.bz2 >> I knew. Unfortunately, it's often proven inadequate, hence >> there are separate queries for threads etc. >> >> Maybe if to_query had been designed as an iterator in the first place... > > > Its interface is wholly vague, so a given query could encode any kind of > interface you want. Iteration is easily expressed in such an interface > either just by specifying that's what a query means (different answer each > time) or by including a "next pointer" in queries and replies. The interface was implemented based on the knowledge that had been accumulated upto that point in time. More time passes, we learn some things, we forget others. I'll draft something, Andrew