From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27042 invoked by alias); 15 Jul 2003 16:17:42 -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 27024 invoked from network); 15 Jul 2003 16:17:41 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 15 Jul 2003 16:17:41 -0000 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19cSUb-0008SW-00; Tue, 15 Jul 2003 12:17:29 -0400 Date: Tue, 15 Jul 2003 16:17:00 -0000 From: Daniel Jacobowitz To: Mark Kettenis Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC/RFA] Per-objfile data mechanism Message-ID: <20030715161729.GA32437@nevyn.them.org> Mail-Followup-To: Mark Kettenis , gdb-patches@sources.redhat.com References: <200307131717.h6DHH425098569@elgar.kettenis.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200307131717.h6DHH425098569@elgar.kettenis.dyndns.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-07/txt/msg00288.txt.bz2 On Sun, Jul 13, 2003 at 07:17:04PM +0200, Mark Kettenis wrote: > This patch adds a per-objfile data mechanism to GDB, and uses that to > store DWARF2 frame info instead of abusing objfile->sym_private. The > latter could lead to problems on certain platforms according to > Daniel. Cygwin appears to be affected by this, so we should definitely reach some conclusion before 6.0. > Comments? OK to check this in? Do we want this on the release branch > too? The concept is nice, but I share David's concern. The way you implemented this, every objfile always pays the cost of the extra storage; there's an abstraction benefit, but a memory and simplicity penalty. I could go either way. We should reach a decision one way or the other, though. I needed a new per-objfile datum just yesterday. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer