From b9d8832d731aa639658f29bcc612bc45c85d7d62 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 2 Aug 2002 05:25:46 -0400 Subject: [PATCH] * gdbinit.in (pct): New macro. From-SVN: r55979 --- gcc/ChangeLog | 4 ++++ gcc/gdbinit.in | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c1f67617e89..4c3cb579707 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-08-02 Jason Merrill + + * gdbinit.in (pct): New macro. + 2002-08-01 Stan Shebs Andreas Tobler 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 -- 2.30.2