This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A possible super feature to add to gcc
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Aspertame Man <AspertameMan at att dot net>
- Cc: gcc at gnu dot org
- Date: Mon, 06 Dec 2010 11:44:01 -0500
- Subject: Re: A possible super feature to add to gcc
- References: <1291581040.2886.6.camel@netbook>
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