* gdbinit.in (pct): New macro.

From-SVN: r55979
This commit is contained in:
Jason Merrill 2002-08-02 05:25:46 -04:00 committed by Jason Merrill
parent 509da48a87
commit b9d8832d73
2 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2002-08-02 Jason Merrill <jason@redhat.com>
* gdbinit.in (pct): New macro.
2002-08-01 Stan Shebs <shebs@apple.com>
Andreas Tobler <toa@pop.agri.ch>

View file

@ -31,6 +31,15 @@ Print the full structure of the tree that is $.
Works only when an inferior is executing.
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
output (enum tree_code) $.common.code
echo \n