aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2018-12-13 12:45:40 -0500
committerJason Merrill <jason@gcc.gnu.org>2018-12-13 12:45:40 -0500
commitb3147e59284d2a916eac1972f44bd9aff72178a4 (patch)
treebf2c3114fe2fccfdf1d5a8d6a0a592ed5f332a22
parent0e350f135b11b105ae98a45441115b9a2a3e6fc3 (diff)
downloadgcc-b3147e59284d2a916eac1972f44bd9aff72178a4.zip
gcc-b3147e59284d2a916eac1972f44bd9aff72178a4.tar.gz
gcc-b3147e59284d2a916eac1972f44bd9aff72178a4.tar.bz2
gdbinit.in (pp): New macro.
* gdbinit.in (pp): New macro. (pbb): Remove. From-SVN: r267098
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/gdbinit.in17
2 files changed, 14 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 760672f..88db1c9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in
index 4db977f..a2d03e4 100644
--- a/gcc/gdbinit.in
+++ b/gcc/gdbinit.in
@@ -16,6 +16,15 @@
# 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