⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 .gdbinit

📁 gcc库的原代码,对编程有很大帮助.
💻 GDBINIT
字号:
define prset debug_rtx ($)enddocument prPrint the full structure of the rtx that is $.Works only when an inferior is executing.enddefine prlset debug_rtx_list ($, debug_rtx_count)enddocument prlPrint the full structure of all rtx insns beginning at $.Works only when an inferior is executing.Uses variable debug_rtx_count to control number of insns printed:  debug_rtx_count > 0: print from $ on.  debug_rtx_count < 0: print a window around $.There is also debug_rtx_find (rtx, uid) that will scan a list for UID and printit using debug_rtx_list. Usage example: set $foo=debug_rtx_find(first, 42)enddefine ptset debug_tree ($)enddocument ptPrint the full structure of the tree that is $.Works only when an inferior is executing.enddefine ptcoutput (enum tree_code) $.common.codeecho \nenddocument ptcPrint the tree-code of the tree node that is $.enddefine pdnoutput $.decl.name->identifier.pointerecho \nenddocument pdnPrint the name of the decl-node that is $.enddefine ptnoutput $.type.name->decl.name->identifier.pointerecho \nenddocument ptnPrint the name of the type-node that is $.enddefine prcoutput (enum rtx_code) $.codeecho \ (output $.modeecho )\nenddocument prcPrint the rtx-code and machine mode of the rtx that is $.enddefine piprint $.fld[0].rtx@7enddocument piPrint the fields of an instruction that is $.enddefine pbsset print_binding_stack ()enddocument pbsIn cc1plus, print the current binding stack, frame by frame, up to andincluding the global binding level.end# Don't let abort actually run, as it will make# stdio stop working and therefore the `pr' command below as well.b abort# 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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -