* gdbinit.in (pct): New macro.
authorJason Merrill <jason@redhat.com>
Fri, 2 Aug 2002 09:25:46 +0000 (05:25 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 2 Aug 2002 09:25:46 +0000 (05:25 -0400)
From-SVN: r55979

gcc/ChangeLog
gcc/gdbinit.in

index c1f67617e89879c3e9011c722e742d434dcf125a..4c3cb5797079a70d93945a9f130d07858c0221d7 100644 (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>
 
index 5fae9180461a5077370c12a8a1d476b564c722bd..17067df1b4626ae836c0844eab1952ab616685de 100644 (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