[PATCH] DOT a function directly from a gdb session

Pedro Alves palves@redhat.com
Thu Dec 13 10:14:00 GMT 2012


On 12/12/2012 06:04 PM, Andi Kleen wrote:
> Richard Biener <rguenther@suse.de> writes:
>>
>> Probably not suitable for trunk because I use popen/pclose/fileno
>> which I don't know whether they are available on all host platforms.
> 
> Just add a ifdef HAVE_popen or somesuch around it?

Better yet, use the pex routines from libiberty (PEX_USE_PIPES, pex_run,
pex_read_output, etc.).

-- 
Pedro Alves



More information about the Gcc-patches mailing list