<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Debugging with GDB</title>
	<atom:link href="http://betterexplained.com/articles/debugging-with-gdb/feed/" rel="self" type="application/rss+xml" />
	<link>http://betterexplained.com/articles/debugging-with-gdb/</link>
	<description>Learning shouldn&#039;t hurt. Let&#039;s share the insights that made difficult ideas click.</description>
	<lastBuildDate>Fri, 10 Sep 2010 15:29:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Eric</title>
		<link>http://betterexplained.com/articles/debugging-with-gdb/#comment-281841</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Thu, 15 Apr 2010 05:12:45 +0000</pubDate>
		<guid isPermaLink="false">http://betterexplained.com/articles/debugging-with-gdb/#comment-281841</guid>
		<description>Good tutorial!
I am debugging now and this tutorial helps me out.
Thanks.</description>
		<content:encoded><![CDATA[<p>Good tutorial!<br />
I am debugging now and this tutorial helps me out.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nimrod</title>
		<link>http://betterexplained.com/articles/debugging-with-gdb/#comment-265336</link>
		<dc:creator>Nimrod</dc:creator>
		<pubDate>Tue, 15 Dec 2009 09:43:58 +0000</pubDate>
		<guid isPermaLink="false">http://betterexplained.com/articles/debugging-with-gdb/#comment-265336</guid>
		<description>More tips that make gdb more bearable:

1. You can set conditions on breakpoints. E.g. &quot;cond 3 (x==2)&quot; will stop at breakpoint 3 only when x==2.

2. You can set ignore count on breakpoints. &quot;ignore 3 1000&quot; ignores the next 1000 crossing of breakpoint 3. Then at some interesting point in time (when your program crashes...), &quot;info break 3&quot; shows exactly how many times breakpoint 3 had been hit. Next time set the ignore count to one less than that number and gdb will stop one iteration before the crash...

3. When using &quot;watch&quot;, make sure gdb says &quot;hardware watchpoint set&quot;. Unlike software watchpoints, these do not slow down program execution.

4. It is possible to define macros (using define xxx ... end) in .gdbrc

Other useful features I haven&#039;t used:

 1. gdb7 supports reverse debugging 

 2. gdb7 is scriptable using Python. Together with the new libstdc++ you get pretty printing of C++ STL collection classes.</description>
		<content:encoded><![CDATA[<p>More tips that make gdb more bearable:</p>
<p>1. You can set conditions on breakpoints. E.g. &#8220;cond 3 (x==2)&#8221; will stop at breakpoint 3 only when x==2.</p>
<p>2. You can set ignore count on breakpoints. &#8220;ignore 3 1000&#8243; ignores the next 1000 crossing of breakpoint 3. Then at some interesting point in time (when your program crashes&#8230;), &#8220;info break 3&#8243; shows exactly how many times breakpoint 3 had been hit. Next time set the ignore count to one less than that number and gdb will stop one iteration before the crash&#8230;</p>
<p>3. When using &#8220;watch&#8221;, make sure gdb says &#8220;hardware watchpoint set&#8221;. Unlike software watchpoints, these do not slow down program execution.</p>
<p>4. It is possible to define macros (using define xxx &#8230; end) in .gdbrc</p>
<p>Other useful features I haven&#8217;t used:</p>
<p> 1. gdb7 supports reverse debugging </p>
<p> 2. gdb7 is scriptable using Python. Together with the new libstdc++ you get pretty printing of C++ STL collection classes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2009-06-12 &#124; manicwave.com</title>
		<link>http://betterexplained.com/articles/debugging-with-gdb/#comment-245151</link>
		<dc:creator>links for 2009-06-12 &#124; manicwave.com</dc:creator>
		<pubDate>Fri, 12 Jun 2009 12:03:14 +0000</pubDate>
		<guid isPermaLink="false">http://betterexplained.com/articles/debugging-with-gdb/#comment-245151</guid>
		<description>[...] Debugging with GDB &#124; BetterExplained (tags: debugging iphone osx gdb) [...]</description>
		<content:encoded><![CDATA[<p>[...] Debugging with GDB | BetterExplained (tags: debugging iphone osx gdb) [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 7/12 queries in 0.010 seconds using disk

Served from: betterexplained.com @ 2010-09-10 18:53:50 -->