diff options
author | Jason Merrill <jason@redhat.com> | 2002-08-02 05:25:46 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2002-08-02 05:25:46 -0400 |
commit | b9d8832d731aa639658f29bcc612bc45c85d7d62 (patch) | |
tree | 458d228cb79944d8ef6a71c42409a6bb17632a52 /gcc/gdbinit.in | |
parent | 509da48a87fc1c7d2c31b687138f8ebfdd6802e2 (diff) | |
download | gcc-b9d8832d731aa639658f29bcc612bc45c85d7d62.tar.gz |
* gdbinit.in (pct): New macro.
From-SVN: r55979
Diffstat (limited to 'gcc/gdbinit.in')
-rw-r--r-- | gcc/gdbinit.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in index 5fae9180461..17067df1b46 100644 --- a/gcc/gdbinit.in +++ b/gcc/gdbinit.in @@ -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 |