Re: [PATCH 2/2] HTML Dumping of trees from gdb

2024-09-27 Thread David Malcolm
On Sat, 2024-09-21 at 22:49 -0500, -thor wrote: > From: thor > > This patch allows one to dump a tree as HTML from within gdb by > invoking, > i.e, >   htlml-tree tree > > gcc/ChangeLog: >     * gcc/gdbhooks.py: Rudimentary dumping of GENERIC trees as html > through >   one new python fu

Re: [PATCH 2/2] HTML Dumping of trees from gdb

2024-09-27 Thread Richard Biener
On Sun, Sep 22, 2024 at 5:49 AM -thor wrote: > > From: thor > > This patch allows one to dump a tree as HTML from within gdb by invoking, > i.e, > htlml-tree tree I have managed to get a browser window launched with the following incremental patch (xdg-open should be a better default than

[PATCH 2/2] HTML Dumping of trees from gdb

2024-09-21 Thread 4444-thor
From: thor This patch allows one to dump a tree as HTML from within gdb by invoking, i.e, htlml-tree tree gcc/ChangeLog: * gcc/gdbhooks.py: Rudimentary dumping of GENERIC trees as html through one new python function (jsonNodeToHtml) and one new gdb command (html-tree). There