From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2710 invoked by alias); 24 Feb 2003 14:25:03 -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 2686 invoked from network); 24 Feb 2003 14:25:03 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by 172.16.49.205 with SMTP; 24 Feb 2003 14:25:03 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18nLQf-00057r-00; Mon, 24 Feb 2003 10:26:09 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18nJXQ-0006TN-00; Mon, 24 Feb 2003 09:25:00 -0500 Date: Mon, 24 Feb 2003 14:25:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: gdb@sources.redhat.com Subject: Re: ARI `asection' and `sec_ptr' Message-ID: <20030224142459.GA24793@nevyn.them.org> Mail-Followup-To: Andrew Cagney , gdb@sources.redhat.com References: <3E59BF0E.7020708@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E59BF0E.7020708@redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-02/txt/msg00511.txt.bz2 On Mon, Feb 24, 2003 at 01:43:26AM -0500, Andrew Cagney wrote: > Hello, > > Assuming I'm reading the code right. BFD has the declarations: > > typedef struct sec > { > ... > } asection; > typedef struct sec *sec_ptr; > > GDB uses all three (sec_ptr, asection, struct sec) and that makes things > pretty confusing. Consequently, I've added asection and sec_ptr to the > ARI. Instead people can use `struct sec *' which is consistent with > GDB's other types. Must you? BFD makes a conscious effort to (almost always) use asection* in its interfaces. If you want to reduce bfd.h includes, solve this one in BFD too. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer