From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16106 invoked by alias); 6 Jan 2006 13:43:39 -0000 Received: (qmail 16099 invoked by uid 22791); 6 Jan 2006 13:43:39 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 06 Jan 2006 13:43:37 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EursR-0001GJ-4E; Fri, 06 Jan 2006 08:43:31 -0500 Date: Fri, 06 Jan 2006 13:43:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: Michael Snyder , gdb-patches@sources.redhat.com Subject: Re: How to implement gcore on pa-hpux ? Message-ID: <20060106134330.GA4796@nevyn.them.org> Mail-Followup-To: Joel Brobecker , Michael Snyder , gdb-patches@sources.redhat.com References: <20060104174009.GC1868@adacore.com> <20060104184050.GA8927@nevyn.them.org> <43BC1DFF.2080501@redhat.com> <20060105032232.GB4734@adacore.com> <43BDF489.1080600@redhat.com> <20060106102824.GQ4734@adacore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060106102824.GQ4734@adacore.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00076.txt.bz2 On Fri, Jan 06, 2006 at 02:28:24PM +0400, Joel Brobecker wrote: > It's not as elegant as having a gdbarch or target method, but it's > probably easier to implement. We defer a bit the work that makes this > a method of some vector, but it's not necessary right now. Perhaps > the pragmatic thing to do would be to wait until we need it before > we start worrying about it. Even then, the work is slightly prepared > because we already have the genericity based on the hook. > > What do you guys think? I think that if you need to add new files and rely on magic function names, then you're already past the time when you needed to add things to a vector. -- Daniel Jacobowitz CodeSourcery