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 | |
parent | 509da48a87fc1c7d2c31b687138f8ebfdd6802e2 (diff) | |
download | gcc-b9d8832d731aa639658f29bcc612bc45c85d7d62.zip gcc-b9d8832d731aa639658f29bcc612bc45c85d7d62.tar.gz gcc-b9d8832d731aa639658f29bcc612bc45c85d7d62.tar.bz2 |
* gdbinit.in (pct): New macro.
From-SVN: r55979
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/gdbinit.in | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c1f6761..4c3cb57 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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> diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in index 5fae918..17067df 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 |