From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31763 invoked by alias); 5 Dec 2010 23:04:24 -0000 Received: (qmail 31753 invoked by uid 22791); 5 Dec 2010 23:04:23 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_50,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 05 Dec 2010 23:04:19 +0000 Received: from eggs.gnu.org ([140.186.70.92]:40285) by fencepost.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PPNcs-00074T-QH for gcc@gnu.org; Sun, 05 Dec 2010 18:04:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPNcu-00040r-Ah for gcc@gnu.org; Sun, 05 Dec 2010 18:04:17 -0500 Received: from c60.cesmail.net ([216.154.195.49]:21477) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPNcu-00040c-89 for gcc@gnu.org; Sun, 05 Dec 2010 18:04:16 -0500 Received: from unknown (HELO delta2) ([192.168.1.50]) by c60.cesmail.net with ESMTP; 05 Dec 2010 18:04:15 -0500 Received: from 89.241.159.65 ([89.241.159.65]) by webmail.spamcop.net (Horde MIME library) with HTTP; Sun, 05 Dec 2010 18:04:15 -0500 Message-ID: <20101205180415.t3cf4yx7pcw84gcw-nzlynne@webmail.spamcop.net> Date: Sun, 05 Dec 2010 23:04:00 -0000 From: Joern Rennecke To: Aspertame Man Cc: gcc@gnu.org Subject: Re: A possible super feature to add to gcc References: <1291581040.2886.6.camel@netbook> In-Reply-To: <1291581040.2886.6.camel@netbook> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2010-12/txt/msg00171.txt.bz2 Quoting Aspertame Man : > > Back in the 1970's when we ran fortran on an IBM machine we had this > really powerful command called CALL FDUMP that if inserted into a > program would send the names and values of every variable, at the time > of its call, to a printer or file. In my opinion this was much more > useful at times than a symbolic debugger, in scientific number crunching > applications. I don't see how this would be better than dumping core and resuming execution. I suppose you might even do a fork before dumping core, that might speed up if you have multiple CPU cores and copy-on-write memory semantics.