]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gdbinit.in (pp): New macro.
authorJason Merrill <jason@redhat.com>
Thu, 13 Dec 2018 17:45:40 +0000 (12:45 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 13 Dec 2018 17:45:40 +0000 (12:45 -0500)
* gdbinit.in (pp): New macro.

(pbb): Remove.

From-SVN: r267098

gcc/ChangeLog
gcc/gdbinit.in

index 760672f2fde9964b65ac357274d087e98560e97b..88db1c98c5045da0aea30f2fbe594ab8f2e9fd4a 100644 (file)
@@ -1,3 +1,8 @@
+2018-12-13  Jason Merrill  <jason@redhat.com>
+
+       * gdbinit.in (pp): New macro.
+       (pbb): Remove.
+
 2018-12-13  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/88464
index 4db977f0babf89eb58458d2d11812ce51cff7fa5..a2d03e402447c4c2d82fc54a6cbb2a0de3f0279b 100644 (file)
 # along with GCC; see the file COPYING3.  If not see
 # <http://www.gnu.org/licenses/>.
 
+define pp
+call debug ($)
+end
+
+document pp
+Print a representation of the GCC data structure that is $.
+Works only when an inferior is executing.
+end
+
 define pr
 set debug_rtx ($)
 end
@@ -166,14 +175,6 @@ In cc1plus, print the current binding stack, frame by frame, up to and
 including the global binding level.
 end
 
-define pbb
-set debug ($)
-end
-
-document pbb
-Dump the basic block that is in $, including rtx.
-end
-
 define pbm
 set bitmap_print (stderr, $, "", "\n")
 end