Files

69 lines
7.5 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 586" width="900" height="586"><title>GDB 常用命令</title><defs><marker id="a" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10Z" fill="#416687"/></marker></defs><rect width="100%" height="100%" fill="white"/><g font-family="Microsoft YaHei,Arial,sans-serif" fill="#263c52" stroke-linecap="round">
<rect x="10" y="10" width="80" height="49" stroke="#67859e" fill="#e9eff6" stroke-width="1.5"/>
<text x="50.0" y="34.5" text-anchor="middle" dominant-baseline="central" font-size="20">简写</text>
<rect x="90" y="10" width="140" height="49" stroke="#67859e" fill="#e9eff6" stroke-width="1.5"/>
<text x="160.0" y="34.5" text-anchor="middle" dominant-baseline="central" font-size="20">全称</text>
<rect x="230" y="10" width="660" height="49" stroke="#67859e" fill="#e9eff6" stroke-width="1.5"/>
<text x="560.0" y="34.5" text-anchor="middle" dominant-baseline="central" font-size="20">备注</text>
<rect x="10" y="59" width="80" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="50.0" y="83.5" text-anchor="middle" dominant-baseline="central" font-size="20">l</text>
<rect x="90" y="59" width="140" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="160.0" y="83.5" text-anchor="middle" dominant-baseline="central" font-size="20">list</text>
<rect x="230" y="59" width="660" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="560.0" y="83.5" text-anchor="middle" dominant-baseline="central" font-size="20">显示特定行或特定函数附近的源代码</text>
<rect x="10" y="108" width="80" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="50.0" y="132.5" text-anchor="middle" dominant-baseline="central" font-size="20">b</text>
<rect x="90" y="108" width="140" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="160.0" y="132.5" text-anchor="middle" dominant-baseline="central" font-size="20">break</text>
<rect x="230" y="108" width="660" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="560.0" y="132.5" text-anchor="middle" dominant-baseline="central" font-size="20">在特定行或特定函数开头处设置断点</text>
<rect x="10" y="157" width="80" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="50.0" y="181.5" text-anchor="middle" dominant-baseline="central" font-size="20">r</text>
<rect x="90" y="157" width="140" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="160.0" y="181.5" text-anchor="middle" dominant-baseline="central" font-size="20">run</text>
<rect x="230" y="157" width="660" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="560.0" y="181.5" text-anchor="middle" dominant-baseline="central" font-size="20">运行程序,直到程序结束或遇到断点而停下</text>
<rect x="10" y="206" width="80" height="76" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="50.0" y="244.0" text-anchor="middle" dominant-baseline="central" font-size="20">c</text>
<rect x="90" y="206" width="140" height="76" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="160.0" y="244.0" text-anchor="middle" dominant-baseline="central" font-size="20">continue</text>
<rect x="230" y="206" width="660" height="76" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="560.0" y="230.5" text-anchor="middle" dominant-baseline="central" font-size="20">在程序中断后继续执行程序,直到程序结束或遇到断点而停下;在程序</text>
<text x="560.0" y="257.5" text-anchor="middle" dominant-baseline="central" font-size="20">执行前只能使用 r 而不能使用 c</text>
<rect x="10" y="282" width="80" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="50.0" y="306.5" text-anchor="middle" dominant-baseline="central" font-size="20">n</text>
<rect x="90" y="282" width="140" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="160.0" y="306.5" text-anchor="middle" dominant-baseline="central" font-size="20">next</text>
<rect x="230" y="282" width="660" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="560.0" y="306.5" text-anchor="middle" dominant-baseline="central" font-size="20">执行一条语句,如果有函数调用,则将其当作一个整体运行</text>
<rect x="10" y="331" width="80" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="50.0" y="355.5" text-anchor="middle" dominant-baseline="central" font-size="20">s</text>
<rect x="90" y="331" width="140" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="160.0" y="355.5" text-anchor="middle" dominant-baseline="central" font-size="20">step</text>
<rect x="230" y="331" width="660" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="560.0" y="355.5" text-anchor="middle" dominant-baseline="central" font-size="20">执行一条语句,如果有函数调用,则将停在函数开头处</text>
<rect x="10" y="380" width="80" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="50.0" y="404.5" text-anchor="middle" dominant-baseline="central" font-size="20">u</text>
<rect x="90" y="380" width="140" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="160.0" y="404.5" text-anchor="middle" dominant-baseline="central" font-size="20">until</text>
<rect x="230" y="380" width="660" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="560.0" y="404.5" text-anchor="middle" dominant-baseline="central" font-size="20">执行到特定行或者特定函数的开头</text>
<rect x="10" y="429" width="80" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="50.0" y="453.5" text-anchor="middle" dominant-baseline="central" font-size="20">p</text>
<rect x="90" y="429" width="140" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="160.0" y="453.5" text-anchor="middle" dominant-baseline="central" font-size="20">print</text>
<rect x="230" y="429" width="660" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="560.0" y="453.5" text-anchor="middle" dominant-baseline="central" font-size="20">显示变量或表达式的值</text>
<rect x="10" y="478" width="80" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="50.0" y="502.5" text-anchor="middle" dominant-baseline="central" font-size="20">disp</text>
<rect x="90" y="478" width="140" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="160.0" y="502.5" text-anchor="middle" dominant-baseline="central" font-size="20">display</text>
<rect x="230" y="478" width="660" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="560.0" y="502.5" text-anchor="middle" dominant-baseline="central" font-size="20">把一个变量或表达式设为 display,每次程序停下时都会输出其值</text>
<rect x="10" y="527" width="80" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="50.0" y="551.5" text-anchor="middle" dominant-baseline="central" font-size="20">cl</text>
<rect x="90" y="527" width="140" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="160.0" y="551.5" text-anchor="middle" dominant-baseline="central" font-size="20">clear</text>
<rect x="230" y="527" width="660" height="49" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="560.0" y="551.5" text-anchor="middle" dominant-baseline="central" font-size="20">取消断点,与 b 的格式相同;如果该位置有多个断点则同时取消</text>
</g></svg>