This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add debug_function_graph_to_file


On Wed, Feb 17, 2016 at 2:51 PM, Marek Polacek <polacek@redhat.com> wrote:
> On Wed, Feb 17, 2016 at 02:45:36PM +0100, Richard Biener wrote:
>> OTOH I have in my local trees a more convenient form (attached).
>>
>> (gdb) call debug_dot_cfg (cfun, 1<<6)
>>
>> and a X window with the dotted graph opens.
>
> Is there any chance we could get this into the mainline?  I'd love to use
> this without having to patch my tree locally.  If I remember correctly
> there were some issues with unportable popen()?

I think I never posted it for inclusion.  The ??? would also need investigation,
probably using a temporary file is easier (though would require manual
cleaning).

What does it take to write it in python instead?

Richard.

>         Marek


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]