public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* PATCH to add 'pgq' alias for debug_gimple_seq in gdbinit.in
@ 2009-11-09 20:01 Jason Merrill
  0 siblings, 0 replies; only message in thread
From: Jason Merrill @ 2009-11-09 20:01 UTC (permalink / raw)
  To: gcc-patches List

[-- Attachment #1: Type: text/plain, Size: 74 bytes --]

This seemed to be missing from the set of gdb aliases.

Applied to trunk.

[-- Attachment #2: pgq.patch --]
[-- Type: text/x-patch, Size: 638 bytes --]

commit eaeea6b83ab13def99432b64195a01d5e31ac6e8
Author: Jason Merrill <jason@redhat.com>
Date:   Mon Nov 9 13:29:56 2009 -0500

    	* gdbinit.in (pgq): New function for printing gimple sequence.

diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in
index 458277d..22c99a7 100644
--- a/gcc/gdbinit.in
+++ b/gcc/gdbinit.in
@@ -68,6 +68,15 @@ Print the Gimple statement that is $ in C syntax.
 Works only when an inferior is executing.
 end
 
+define pgq
+set debug_gimple_seq ($)
+end
+
+document pgq
+Print the Gimple sequence that is $ in C syntax.
+Works only when an inferior is executing.
+end
+
 define pgs
 set debug_generic_stmt ($)
 end


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-09 19:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-09 20:01 PATCH to add 'pgq' alias for debug_gimple_seq in gdbinit.in Jason Merrill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).