<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><!-- generator="FeedCreator 1.7.2-ppt DokuWiki" --><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
    <channel>
        <title>Jim Chen</title>
        <description />
        <link>http://www.jnchen.com/</link>
        <lastBuildDate>Thu, 31 May 2012 05:30:44 -0400</lastBuildDate>
        <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
        <image>
            <url>http://www.jnchen.com/ttp://www.jnchen.com/lib/tpl/jnchen/images/favicon.ico</url>
            <title>Jim Chen</title>
            <link>http://www.jnchen.com/</link>
        </image>
        <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/jnchen/mozilla" /><feedburner:info uri="jnchen/mozilla" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
            <title>Updated Android gdb and gdbutils</title>
            <link>http://www.jnchen.com/blog/2011/11/updated-gdb</link>
            <description>


&lt;p&gt;
I took some time today to update both the Fennec Android gdb (aka &amp;#039;jimdb&amp;#039;) and gdbutils. &lt;a href="https://wiki.mozilla.org/Android/GDB" class="urlextern" title="https://wiki.mozilla.org/Android/GDB"  rel="nofollow"&gt;Build instructions&lt;/a&gt; should be the same. You can also grab the &lt;a href="http://www.jnchen.com/_media/projects/mozilla/moz-gdb.tar.bz2" class="media mediafile mf_bz2 wikilink2" title="projects:mozilla:moz-gdb.tar.bz2"&gt;pre-built Linux tarball&lt;/a&gt;. Note that the pre-built binaries require libpython2.7.
&lt;/p&gt;

&lt;h3&gt;&lt;a name="gdb" id="gdb" href="http://www.jnchen.com/blog/2011/11/updated-gdb"&gt;gdb&lt;/a&gt;&lt;/h3&gt;
&lt;div class="level3"&gt;

&lt;p&gt;
The updated gdb is faster when setting up remote debugging. Sometimes it can get pretty frustrating when you have to debug a lot of sessions, and you have to wait half a minute each time just to get started. This update will hopefully make it a little better. (This is not an issue if you have an intern at your disposal ;)
&lt;/p&gt;

&lt;/div&gt;

&lt;h3 class="sectionedit7"&gt;&lt;a name="gdbutils" id="gdbutils"&gt;gdbutils&lt;/a&gt;&lt;/h3&gt;
&lt;div class="level3"&gt;

&lt;p&gt;
&lt;a href="https://github.com/darchons/android-gdbutils" class="urlextern" title="https://github.com/darchons/android-gdbutils"  rel="nofollow"&gt;gdbutils&lt;/a&gt; is a set of Python scripts that works with Android gdb. The updated gdbutils includes the following modules:
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name="feninit" id="feninit"&gt;feninit&lt;/a&gt;&lt;/h4&gt;
&lt;div class="level4"&gt;

&lt;p&gt;
feninit automatically sets up the debug environment. The updated version adds support for B2G (see gdbinit for details; thanks ThinkerYzu!) and various bug fixes.
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name="tracebt" id="tracebt"&gt;tracebt&lt;/a&gt;&lt;/h4&gt;
&lt;div class="level4"&gt;

&lt;p&gt;
tracebt is a stack unwinder that works by tracing assembly. The updated version adds a sanity check to stop unwinding before the script gets stuck somewhere and becomes depressed.
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name="fastload" id="fastload"&gt;fastload&lt;/a&gt;&lt;/h4&gt;
&lt;div class="level4"&gt;

&lt;p&gt;
fastload is a new module that automatically pulls system libraries from the device in the background. This way you don&amp;#039;t have to wait minutes just to download system libraries when debugging on a new device.
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name="adblog" id="adblog"&gt;adblog&lt;/a&gt;&lt;/h4&gt;
&lt;div class="level4"&gt;

&lt;p&gt;
adblog is a new module that redirects the output of &amp;#039;adb logcat&amp;#039; to the gdb terminal when Fennec is running. It also colorizes the logs according to the order they arrived, their priority, or the threads that generated them, like this:
&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.jnchen.com/_media/blog/2011/10/adblog.png" class="media" title="blog:2011:10:adblog.png"&gt;&lt;img src="http://www.jnchen.com/_media/blog/2011/10/adblog.png?w=500" class="mediacenter" title="adblog example" alt="adblog example" width="500" /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
You can find additional documentation for gdbutils in the &lt;a href="https://github.com/darchons/android-gdbutils/blob/master/README.md" class="urlextern" title="https://github.com/darchons/android-gdbutils/blob/master/README.md"  rel="nofollow"&gt;README&lt;/a&gt;. Feel free to ping me on &lt;acronym title="Internet Relay Chat"&gt;IRC&lt;/acronym&gt; (jchen) or file issues on github! Thanks!
&lt;/p&gt;
&lt;hr /&gt;

&lt;p&gt;
Also &lt;a href="https://twitter.com/#!/darchons" class="urlextern" title="https://twitter.com/#!/darchons"  rel="nofollow"&gt;follow me on twitter!&lt;/a&gt; :D
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT7 SECTION "gdbutils" [716-] --&gt;
&lt;p&gt;&lt;small&gt;
    This blog post was
            last modified on 2011-11-07        by
    Jim Chen.
            It is tagged with &lt;a href="http://www.jnchen.com/blog?btng%5Bpost%5D%5Btags%5D=mozilla" class="tag"&gt;mozilla&lt;/a&gt;.
    &lt;/small&gt;&lt;/p&gt;
</description>
            <author>Jim Chen</author>
        <category>mozilla</category>
            <pubDate>Mon, 07 Nov 2011 20:53:54 -0400</pubDate>
        </item>
    </channel>
</rss>

