From b3147e59284d2a916eac1972f44bd9aff72178a4 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 13 Dec 2018 12:45:40 -0500 Subject: [PATCH] gdbinit.in (pp): New macro. * gdbinit.in (pp): New macro. (pbb): Remove. From-SVN: r267098 --- gcc/ChangeLog | 5 +++++ gcc/gdbinit.in | 17 +++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 760672f2fde..88db1c98c50 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-12-13 Jason Merrill + + * gdbinit.in (pp): New macro. + (pbb): Remove. + 2018-12-13 Jakub Jelinek PR tree-optimization/88464 diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in index 4db977f0bab..a2d03e40244 100644 --- a/gcc/gdbinit.in +++ b/gcc/gdbinit.in @@ -16,6 +16,15 @@ # along with GCC; see the file COPYING3. If not see # . +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 -- 2.30.2