This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa] pretty printing PATCH to gdbinit.in
- From: Jason Merrill <jason at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 13 May 2003 16:42:22 -0400
- Subject: [tree-ssa] pretty printing PATCH to gdbinit.in
gdb commands for the generic pretty-printers. Applied to tree-ssa.
2003-05-13 Jason Merrill <jason@redhat.com>
* gdbinit.in (pgs, pge): New macros.
*** gdbinit.in.~1~ Tue May 13 15:55:48 2003
--- gdbinit.in Mon May 12 05:18:52 2003
*************** Print the tree that is $ in C syntax.
*** 40,45 ****
--- 40,63 ----
Works only when an inferior is executing.
end
+ define pgs
+ set debug_generic_stmt ($)
+ end
+
+ document pgs
+ Print the statement that is $ in C syntax.
+ Works only when an inferior is executing.
+ end
+
+ define pge
+ set debug_generic_expr ($)
+ end
+
+ document pge
+ Print the expression that is $ in C syntax.
+ Works only when an inferior is executing.
+ end
+
define ptc
output (enum tree_code) $.common.code
echo \n