From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26212 invoked by alias); 26 Dec 2001 20:32:23 -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 26072 invoked from network); 26 Dec 2001 20:32:21 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 26 Dec 2001 20:32:21 -0000 Received: from cygnus.com (reddwarf.cygnus.com [205.180.231.12]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id MAA02482; Wed, 26 Dec 2001 12:32:12 -0800 (PST) Message-ID: <3C2A32DA.7A62F4B0@cygnus.com> Date: Wed, 26 Dec 2001 12:32:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2smp i686) X-Accept-Language: en MIME-Version: 1.0 To: Kevin Buettner CC: gdb-patches@sources.redhat.com Subject: Re: [RFC] New command 'gcore' References: <3C17D3A0.DE140BFB@cygnus.com> <1011212233405.ZM6472@ocotillo.lan> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2001-12/txt/msg00581.txt.bz2 Kevin Buettner wrote: > > On Dec 12, 2:01pm, Michael Snyder wrote: > > > I would like to discuss adding a new command 'gcore' to gdb. > > This is at a very early stage, I just want to sound people out > > about it. > > > > The idea is that 'gcore' would cause gdb to generate a core image > > of the inferior program (just like the 'gcore' unix command). > > I have no problem with the concept, but I'm wondering if we might not > think of a better name for this new command. OK -- what would you suggest as a better name? I picked "gcore" because there is an analogous unix command on some systems that does approximately what I am trying to do here -- drop a core file from a running process.