From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28472 invoked by alias); 11 Sep 2002 18:33:12 -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 28407 invoked from network); 11 Sep 2002 18:33:11 -0000 Received: from unknown (HELO jackfruit.Stanford.EDU) (171.64.38.136) by sources.redhat.com with SMTP; 11 Sep 2002 18:33:11 -0000 Received: (from carlton@localhost) by jackfruit.Stanford.EDU (8.11.6/8.11.6) id g8BIX9s20716; Wed, 11 Sep 2002 11:33:09 -0700 X-Authentication-Warning: jackfruit.Stanford.EDU: carlton set sender to carlton@math.stanford.edu using -f To: Daniel Jacobowitz Cc: gdb Subject: Re: struct environment References: <20020906150620.GA19200@nevyn.them.org> <20020906175726.GA7265@nevyn.them.org> Content-Type: text/plain; charset=US-ASCII From: David Carlton Date: Wed, 11 Sep 2002 11:33:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 X-SW-Source: 2002-09/txt/msg00101.txt.bz2 On 06 Sep 2002 11:56:14 -0700, David Carlton said: > At some point, I'll give it a look: ALL_BLOCK_SYMBOLS is only used > in 29 places, so it should be tractable to survey them by hand. And of course it turns out that, in at least one place, ALL_BLOCK_SYMBOLS calls a function that, in turn, calls ALL_BLOCK_SYMBOLS over the exact same block. Oops. But I think I was making too much of the memory-management difficulties: I'll do iterators correctly (so you can have as many of them active as you want), and just write an ALL_ENV_SYMBOLS macro that allocates them on the stack using alloca(). David Carlton carlton@math.stanford.edu