A possible super feature to add to gcc

Frank Ch. Eigler fche@redhat.com
Mon Dec 6 16:44:00 GMT 2010


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



More information about the Gcc mailing list