OSDN Git Service

* gdbinit.in (pbb, pbm): New macros.
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Nov 2004 09:36:05 +0000 (09:36 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Nov 2004 09:36:05 +0000 (09:36 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90336 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gdbinit.in

index 6af64c6..7a87c1c 100644 (file)
@@ -1,3 +1,7 @@
+2004-11-09  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * gdbinit.in (pbb, pbm): New macros.
+
 2004-11-08 Jeff Law  <law@redhat.com>
 
        * cfg.c (redirect_edge_succ_nodup): Use find_edge rather than
 2004-11-08 Jeff Law  <law@redhat.com>
 
        * cfg.c (redirect_edge_succ_nodup): Use find_edge rather than
index a7ad22c..b3c25ac 100644 (file)
@@ -113,6 +113,22 @@ In cc1plus, print the current binding stack, frame by frame, up to and
 including the global binding level.
 end
 
 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
 # Put breakpoints at exit and fancy_abort in case abort is mapped
 # to either fprintf/exit or fancy_abort.
 b fancy_abort