From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12722 invoked by alias); 19 Feb 2003 17:05:11 -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 12715 invoked from network); 19 Feb 2003 17:05:10 -0000 Received: from unknown (HELO jackfruit.Stanford.EDU) (171.64.38.136) by 172.16.49.205 with SMTP; 19 Feb 2003 17:05:10 -0000 Received: (from carlton@localhost) by jackfruit.Stanford.EDU (8.11.6/8.11.6) id h1JH53f27412; Wed, 19 Feb 2003 09:05:03 -0800 X-Authentication-Warning: jackfruit.Stanford.EDU: carlton set sender to carlton@math.stanford.edu using -f To: Andrew Cagney Cc: gdb-patches@sources.redhat.com, Elena Zannoni , Jim Blandy Subject: Re: [rfc] block.{h,c} References: <3E537F1B.2010601@redhat.com> From: David Carlton Date: Wed, 19 Feb 2003 17:05:00 -0000 In-Reply-To: <3E537F1B.2010601@redhat.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-02/txt/msg00414.txt.bz2 On Wed, 19 Feb 2003 07:56:59 -0500, Andrew Cagney said: > Can it eventually contain the few remaining scraps of block* code > found in blockframe.c (hint, hint :-)? I don't see why not. The functions in blockframe.c that start with block_* or blockvector_* are: struct blockvector * blockvector_for_pc_sect (register CORE_ADDR pc, struct sec *section, int *pindex, struct symtab *symtab) struct blockvector * blockvector_for_pc (register CORE_ADDR pc, int *pindex) struct block * block_for_pc_sect (register CORE_ADDR pc, struct sec *section) struct block * block_for_pc (register CORE_ADDR pc) struct frame_info * block_innermost_frame (const struct block *block) All of those seem like reasonable candidates for block.{c,h}. > I think it is consistent with GDB's current overall direction - more > modular with *.[hc] relating to specific objects or sets of objects. That's my feeling, too. David Carlton carlton@math.stanford.edu