X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fgdbinit.in;h=e8d10e236c4213409d15651039c789e6a7a1364e;hb=4e8c3ff8cad2efc5849b04d4a3f62187b77e2874;hp=a7ad22c036dafa6365b1dea79f49c52f58c3432b;hpb=48bdfbc821a401b9c18be7a664087cc28006f845;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in index a7ad22c036d..e8d10e236c4 100644 --- a/gcc/gdbinit.in +++ b/gcc/gdbinit.in @@ -68,7 +68,7 @@ Print the tree-code of the tree node that is $. end define pdn -output $.decl.name->identifier.id.str +output $.decl_minimal.name->identifier.id.str echo \n end @@ -77,7 +77,7 @@ Print the name of the decl-node that is $. end define ptn -output $.type.name->decl.name->identifier.id.str +output $.type.name->decl_minimal.name->identifier.id.str echo \n end @@ -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 @@ -120,10 +136,7 @@ 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 - +set complaints 0 # Don't let abort actually run, as it will make # stdio stop working and therefore the `pr' command above as well. # Put this last because gcc does not reference it any more unless