aboutsummaryrefslogtreecommitdiff
path: root/gcc/gdbinit.in
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 /gcc/gdbinit.in
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
Diffstat (limited to 'gcc/gdbinit.in')
-rw-r--r--gcc/gdbinit.in17
1 files changed, 9 insertions, 8 deletions
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