Commit b9d8832d by Jason Merrill Committed by Jason Merrill

* gdbinit.in (pct): New macro.

From-SVN: r55979
parent 509da48a
2002-08-02 Jason Merrill <jason@redhat.com>
* gdbinit.in (pct): New macro.
2002-08-01 Stan Shebs <shebs@apple.com> 2002-08-01 Stan Shebs <shebs@apple.com>
Andreas Tobler <toa@pop.agri.ch> Andreas Tobler <toa@pop.agri.ch>
......
...@@ -31,6 +31,15 @@ Print the full structure of the tree that is $. ...@@ -31,6 +31,15 @@ Print the full structure of the tree that is $.
Works only when an inferior is executing. Works only when an inferior is executing.
end end
define pct
set debug_c_tree ($)
end
document pct
Print the tree that is $ in C syntax.
Works only when an inferior is executing.
end
define ptc define ptc
output (enum tree_code) $.common.code output (enum tree_code) $.common.code
echo \n echo \n
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment