This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]