OSDN Git Service

* stor-layout.c (layout_type): Don't complain about a too small
[pf3gnuchains/gcc-fork.git] / gcc / gdbinit.in
index 753cd9e..b3c25ac 100644 (file)
@@ -97,7 +97,7 @@ Print the rtx-code and machine mode of the rtx that is $.
 end
 
 define pi
-print $.u.fld[0].rtx@7
+print $.u.fld[0].rt_rtx@7
 end
 
 document pi
@@ -113,10 +113,29 @@ 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
 
+# Put a breakpoint on internal_error to help with debugging ICEs.
+b internal_error
+
 # Make gdb complain about symbol reading errors.  This is so that gcc
 # developers can see and fix bugs in gcc debug output.
 set complaints 20