From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26033 invoked by alias); 13 Sep 2002 16:44:50 -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 26015 invoked from network); 13 Sep 2002 16:44:49 -0000 Received: from unknown (HELO jackfruit.Stanford.EDU) (171.64.38.136) by sources.redhat.com with SMTP; 13 Sep 2002 16:44:49 -0000 Received: (from carlton@localhost) by jackfruit.Stanford.EDU (8.11.6/8.11.6) id g8DGim814804; Fri, 13 Sep 2002 09:44:48 -0700 X-Authentication-Warning: jackfruit.Stanford.EDU: carlton set sender to carlton@math.stanford.edu using -f To: Andrew Cagney Cc: gdb Subject: Re: struct environment References: <3D80EA6E.7060908@ges.redhat.com> Content-Type: text/plain; charset=US-ASCII From: David Carlton Date: Fri, 13 Sep 2002 09:44:00 -0000 In-Reply-To: <3D80EA6E.7060908@ges.redhat.com> 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/msg00155.txt.bz2 On Thu, 12 Sep 2002 15:26:38 -0400, Andrew Cagney said: > Just BTW, is there another name? ``environment'' can also refer to > the processes environment as seen in the existing environ.[hc] code. How about 'dictionary'? It seems to me that the idea of looking up a variable name to find out the information contained in its symbol isn't too different from the idea of looking up a word to find out its meaning. I looked through the GDB sources, and it doesn't seem to be used widely elsewhere, and even when it's used it's only used informally. The main place where it's used is that infttrace has an important static struct called 'memory_page_dictionary'; but, as naming conflicts go, that's quite minimal. David Carlton carlton@math.stanford.edu