From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21128 invoked by alias); 6 Dec 2010 16:44:17 -0000 Received: (qmail 21117 invoked by uid 22791); 6 Dec 2010 16:44:15 -0000 X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_00,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; Mon, 06 Dec 2010 16:44:08 +0000 Received: from eggs.gnu.org ([140.186.70.92]:47173) by fencepost.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PPeAW-0001Pi-NY for gcc@gnu.org; Mon, 06 Dec 2010 11:44:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPeAY-0001Su-4p for gcc@gnu.org; Mon, 06 Dec 2010 11:44:07 -0500 Received: from mx1.redhat.com ([209.132.183.28]:8943) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPeAX-0001S7-RR for gcc@gnu.org; Mon, 06 Dec 2010 11:44:06 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oB6Gi3hM004914 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 6 Dec 2010 11:44:03 -0500 Received: from fche.csb (vpn-10-212.rdu.redhat.com [10.11.10.212]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oB6Gi244007043; Mon, 6 Dec 2010 11:44:02 -0500 Received: by fche.csb (Postfix, from userid 2569) id 174CB5810B; Mon, 6 Dec 2010 11:44:01 -0500 (EST) To: Aspertame Man Cc: gcc@gnu.org Subject: Re: A possible super feature to add to gcc References: <1291581040.2886.6.camel@netbook> From: fche@redhat.com (Frank Ch. Eigler) Date: Mon, 06 Dec 2010 16:44:00 -0000 In-Reply-To: <1291581040.2886.6.camel@netbook> (Aspertame Man's message of "Sun, 05 Dec 2010 14:30:40 -0600") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/msg00180.txt.bz2 AspertameMan wrote: > 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. [...] This sounds like a job for a scriptable debugger, or systemtap probe process("a.out").statement("*@file.c:444") { log($$vars$$) } or somesuch run-time tool. - FChE