﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-每一个你不满意的现在, 都有一个你没有努力的曾经.-文章分类-【Note】</title><link>http://www.cppblog.com/Wurq/category/21259.html</link><description>G-bits Wurq</description><language>zh-cn</language><lastBuildDate>Tue, 11 Apr 2017 00:27:39 GMT</lastBuildDate><pubDate>Tue, 11 Apr 2017 00:27:39 GMT</pubDate><ttl>60</ttl><item><title>【Cmake】Cmake入门</title><link>http://www.cppblog.com/Wurq/articles/214824.html</link><dc:creator>Wurq</dc:creator><author>Wurq</author><pubDate>Mon, 10 Apr 2017 06:00:00 GMT</pubDate><guid>http://www.cppblog.com/Wurq/articles/214824.html</guid><wfw:comment>http://www.cppblog.com/Wurq/comments/214824.html</wfw:comment><comments>http://www.cppblog.com/Wurq/articles/214824.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/Wurq/comments/commentRss/214824.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/Wurq/services/trackbacks/214824.html</trackback:ping><description><![CDATA[占位留坑.<img src ="http://www.cppblog.com/Wurq/aggbug/214824.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Wurq/" target="_blank">Wurq</a> 2017-04-10 14:00 <a href="http://www.cppblog.com/Wurq/articles/214824.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【 Note 】GDB调试</title><link>http://www.cppblog.com/Wurq/articles/214766.html</link><dc:creator>Wurq</dc:creator><author>Wurq</author><pubDate>Mon, 20 Mar 2017 06:13:00 GMT</pubDate><guid>http://www.cppblog.com/Wurq/articles/214766.html</guid><wfw:comment>http://www.cppblog.com/Wurq/comments/214766.html</wfw:comment><comments>http://www.cppblog.com/Wurq/articles/214766.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/Wurq/comments/commentRss/214766.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/Wurq/services/trackbacks/214766.html</trackback:ping><description><![CDATA[<div>在这里输入文本GDB是在linux下的调试功能<br />
常用命令:<br />
<div align="center"></div>
<br />
<div style="position: absolute; width: 227px; height: 470px; left: 12px; top: 91px;">
<div></div>
<div>
<div>启动文件:<br />
&nbsp;&nbsp;&nbsp; 普通调试&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp; 分屏调试&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;</div>
-&gt;调试:<br />
&nbsp;&nbsp;&nbsp; 运行&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp; 设置断点&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp; 删除断点&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp; 删除所有断点&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp; 清除行x上的所有断点<br />
&nbsp;&nbsp;&nbsp; 显示断点信息&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp; 显示代码&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp; 逐步运行&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp; 逐条运行&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp; x条运行&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp; 执行完当前函数&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp; 退出当前循环体&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp; 跳到程序第x行&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp; 运行程序至下个断点<br />
&nbsp;&nbsp;&nbsp; 显示当前堆栈&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp; 显示当前调试的源文件<br />
&nbsp;&nbsp;&nbsp; 输出&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;</div>
<div></div>
</div>
<div style="position: absolute; width: 242px; height: 469px; top: 91px; left: 242px;">
<div><br />
gdb 可执行文件<br />
gdb -tui 可执行文件<br />
<br />
<br />
r<br />
b<br />
delete 断点编号<br />
delete<br />
clear x<br />
i b<br />
l<br />
s&nbsp;&nbsp; &nbsp;<br />
n<br />
n x<br />
finish<br />
until<br />
jump x<br />
continue<br />
backtrace<br />
info source<br />
p</div>
</div>
</div>
<img src ="http://www.cppblog.com/Wurq/aggbug/214766.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Wurq/" target="_blank">Wurq</a> 2017-03-20 14:13 <a href="http://www.cppblog.com/Wurq/articles/214766.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>