From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5186 invoked by alias); 5 Jan 2006 05:02:10 -0000 Received: (qmail 5166 invoked by uid 22791); 5 Jan 2006 05:02:05 -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; Thu, 05 Jan 2006 05:02:02 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EuNGC-0000J2-Iu; Thu, 05 Jan 2006 00:02:00 -0500 Date: Thu, 05 Jan 2006 05:02:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: How to implement gcore on pa-hpux ? Message-ID: <20060105050200.GA1161@nevyn.them.org> Mail-Followup-To: Joel Brobecker , gdb-patches@sources.redhat.com References: <20060104174009.GC1868@adacore.com> <20060104184050.GA8927@nevyn.them.org> <20060105035311.GC4734@adacore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060105035311.GC4734@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/msg00058.txt.bz2 On Thu, Jan 05, 2006 at 07:53:11AM +0400, Joel Brobecker wrote: > using the target vector, the native HP/UX case seems to be a no-brainer, > which is always nice. Suppose I add a new method to that vector that > does core file dumping, however. The problem is: How do we set that > method of all the cases where we already support gcore? For instance, > i386-linux. We set it in linux-nat.c:linux_target () and inherit it into all GNU/Linux targets. The current Linux mechanism is not target-independent; it's native-only, because it grubs around in /proc. -- Daniel Jacobowitz CodeSourcery