From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12499 invoked by alias); 14 Jul 2004 19:43:55 -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 12447 invoked from network); 14 Jul 2004 19:43:53 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 14 Jul 2004 19:43:53 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i6EJhqe3002489 for ; Wed, 14 Jul 2004 15:43:53 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i6EJhp006886; Wed, 14 Jul 2004 15:43:51 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 2D2352B9D; Wed, 14 Jul 2004 15:43:40 -0400 (EDT) Message-ID: <40F58CEB.9080308@gnu.org> Date: Wed, 14 Jul 2004 19:48:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Chris Markle , Michael Snyder Cc: gdb@sources.redhat.com Subject: Re: gcore or generate-core-file command? References: <00df01c46715$ef7cbc80$0239a8c0@D4PS1621> In-Reply-To: <00df01c46715$ef7cbc80$0239a8c0@D4PS1621> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-07/txt/msg00148.txt.bz2 > Hi - I am currently using some moldy oldy versions of gdb that do not appear > to have a way to generate core files (yes I know I should upgrade). I get > the impression that newer gdb versions have a gcore (or generate-core-file?) > command. Is this the case or is this somehow limited to Linux or some subset > of platforms (my interest here is generating cores with gdb on Solaris). > I've looked in the gdb doc and can't find refs to this ability. Is this > possible? Which version of gdb did this shwo up in? Thx in advance. Chris The command "gcore" was added to GDB 5.2. You're right though, it isn't doesn't appear to be documented. Michael, was there any documentation for this command? Andrew