aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2009-11-09 13:33:00 -0500
committerJason Merrill <jason@gcc.gnu.org>2009-11-09 13:33:00 -0500
commit6e7e763e32ce03a9555046c3c1541670c2a14ae4 (patch)
treeb2d95d998a9e853ab033bc888221f1bd5c387ff0 /gcc
parent0de2d392b0e7e5a9e44113ecf7f1a2e5c300333b (diff)
downloadgcc-6e7e763e32ce03a9555046c3c1541670c2a14ae4.zip
gcc-6e7e763e32ce03a9555046c3c1541670c2a14ae4.tar.gz
gcc-6e7e763e32ce03a9555046c3c1541670c2a14ae4.tar.bz2
* gdbinit.in (pgq): New function for printing gimple sequence.
From-SVN: r154043
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/gdbinit.in9
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b6d48d8..a3a6ed3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-09 Jason Merrill <jason@redhat.com>
+
+ * gdbinit.in (pgq): New function for printing gimple sequence.
+
2009-11-09 Paul Brook <paul@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
Sandra Loosemore <sandra@codesourcery.com>
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