summaryrefslogtreecommitdiff
path: root/gcc/gdbinit.in
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-09 09:36:05 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-09 09:36:05 +0000
commitaaa597970cd48a9b26a265930904df4c5892771c (patch)
tree923e36e89625440e173b6276dd5044eed6dfad9f /gcc/gdbinit.in
parentbd98a41841b4c2f94efb5ba21092c33939611646 (diff)
downloadgcc-aaa597970cd48a9b26a265930904df4c5892771c.tar.gz
* gdbinit.in (pbb, pbm): New macros.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90336 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gdbinit.in')
-rw-r--r--gcc/gdbinit.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in
index a7ad22c036d..b3c25acd8ab 100644
--- a/gcc/gdbinit.in
+++ b/gcc/gdbinit.in
@@ -113,6 +113,22 @@ In cc1plus, print the current binding stack, frame by frame, up to and
including the global binding level.
end
+define pbb
+set dump_bb ($, stderr, 0)
+end
+
+document pbb
+Dump the basic block that is in $, including rtx.
+end
+
+define pbm
+set bitmap_print (stderr, $, "", "\n")
+end
+
+document pbm
+Dump the bitmap that is in $ as a comma-separated list of numbers.
+end
+
# Put breakpoints at exit and fancy_abort in case abort is mapped
# to either fprintf/exit or fancy_abort.
b fancy_abort