compiler: add debugger-callable AST dump functins
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 19 Feb 2019 18:44:24 +0000 (18:44 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 19 Feb 2019 18:44:24 +0000 (18:44 +0000)
commitf1c4b346ea2f42245bd6f45d5b2d274fc68224e3
tree5734f47a51d96f5089458c79ead736bbe8f46e18
parente8350f09ab8413b550fa3fa1720d1e5038eb5277
compiler: add debugger-callable AST dump functins

    Introduce a set debug_go_* global functions that can be used to emit
    AST dumps for Go statements and expressions from within GDB (for use
    by people developing gccgo).

    Reviewed-on: https://go-review.googlesource.com/c/162903

From-SVN: r269027
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/ast-dump.cc