Richard> What does it take to write it in python instead? IIUC you're asking for it to display the function graph at a given point in time. This is easy - you can just dump it to a file and then run the appropriate visualization tool.
Once upon a time I also wrote Python code to display a function's CFG from Python, and then update it as you stepped through gcc. This is on the "demo" branch here https://github.com/tromey/gdb-gui. It's probably bit-rotted by now but it shows the general idea. This was for a talk at FOSDEM, the video is online if you want to see what it looks like. Tom