<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://kerneltrap.org"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>KernelTrap - debugger</title>
 <link>http://kerneltrap.org/taxonomy/term/809/0</link>
 <description></description>
 <language>en-local</language>
<item>
 <title>Kgdb Light</title>
 <link>http://kerneltrap.org/Linux/Kgdb_Light</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&quot;&lt;i&gt;While this is probably one of the last days of the merge window, please still consider pulling the &#039;kgdb light&#039; git tree,&lt;/i&gt;&quot; &lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2008/2/9/799074&quot;&gt;began Ingo Molnar&lt;/a&gt;, explaining:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;This is a slimmed-down and cleaned up version of KGDB that i&#039;ve created out of the original patches that we submitted two weeks ago. I went over the kgdb patches with Thomas and we cut out everything that we did not like, and cleaned up the result.  KGDB is still just as functional as it was before (i tested it on 32-bit and 64-bit x86) - and any desired extra capability or complexity should be added as a delta improvement, not in this initial merge.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Ingo noted that the previous merge request modified 41 files, while this new merge request modifies only 22 files.  Among the changes, he highlighted, &quot;&lt;i&gt;removed _all_ critical path impact, even if KGDB is enabled and active; removed all the lowlevel serial drivers; added a redesigned and cleaned up version of the &#039;KGDB over polled consoles&#039; approach; removed the longjump code; removed the module symbol hacks; removed the GTOD/clocksource hacks; removed the softlockup hacks; removed the toplevel Makefile changes; removed the might_sleep scheduler hack; and did lots of other cleanups and rewrites as well.&lt;/i&gt;&quot;  Ingo summarized, &quot;&lt;i&gt;as a result, this kgdb series has _obviously_ zero impact on the kernel, because it just does not touch any dangerous codepath. From this point on KGDB can evolve in small, well-controlled baby steps, as all other kernel code as well.  And the resulting kgdb is still very functional: it can still break into a kernel (via SysRq-G), can catch crashes, can single-step, etc. It&#039;s already a quite usable first step.&lt;/i&gt;&quot;&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/Linux/Kgdb_Light&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/Linux/Kgdb_Light#comments</comments>
 <category domain="http://kerneltrap.org/2.6.25">2.6.25</category>
 <category domain="http://kerneltrap.org/debugger">debugger</category>
 <category domain="http://kerneltrap.org/Ingo_Molnar">Ingo Molnar</category>
 <category domain="http://kerneltrap.org/kgdb">kgdb</category>
 <category domain="http://kerneltrap.org/Linux">Linux</category>
 <category domain="http://kerneltrap.org/merge_window">merge window</category>
 <category domain="http://kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Sun, 10 Feb 2008 02:08:48 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">15459 at http://kerneltrap.org</guid>
</item>
<item>
 <title>kgdb, To Merge Or Not To Merge</title>
 <link>http://kerneltrap.org/Linux/kgdb_To_Merge_Or_Not_To_Merge</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;It was recently pointed out that most of the x86 architecture patches had been merged into the mainline 2.6.25 kernel, except for the kgdb patches.  Linus Torvalds replied, &quot;&lt;i&gt;I won&#039;t even consider pulling it unless it&#039;s offered as a separate tree, not mixed up with other things. At that point I can give a look.&lt;/i&gt;&quot;  He continued:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;That said, I explained to Ingo why I&#039;m not particularly interested in it. I don&#039;t think that &#039;developer-centric&#039; debugging is really even remotely our problem, and that I&#039;m personally a lot more interested in infrastructure that helps normal users give better bug-reports. And kgdb isn&#039;t even _remotely_ it.&lt;/p&gt;
&lt;p&gt;&quot;So I&#039;d merge a patch that puts oops information (or the whole console printout) in the Intel management stuff in a heartbeat. That code is likely much grottier than any kgdb thing will ever be (Intel really screwed up the interface and made it some insane XML thing), but it&#039;s also fundamentally more important - if it means that normal users can give oops reports after they happened in X (or, these days, probably more commonly during suspend/resume) and the machine just died.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/Linux/kgdb_To_Merge_Or_Not_To_Merge&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/Linux/kgdb_To_Merge_Or_Not_To_Merge#comments</comments>
 <category domain="http://kerneltrap.org/2.6.25">2.6.25</category>
 <category domain="http://kerneltrap.org/debugger">debugger</category>
 <category domain="http://kerneltrap.org/kgdb">kgdb</category>
 <category domain="http://kerneltrap.org/Linus_Torvalds">Linus Torvalds</category>
 <category domain="http://kerneltrap.org/Linux">Linux</category>
 <category domain="http://kerneltrap.org/merge_plans">merge plans</category>
 <category domain="http://kerneltrap.org/x86">x86</category>
 <category domain="http://kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Tue, 05 Feb 2008 15:03:15 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">15423 at http://kerneltrap.org</guid>
</item>
<item>
 <title>x86 Architecture Merges in 2.6.25</title>
 <link>http://kerneltrap.org/Linux/x86_Architecture_Merges_in_2.6.25</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;Ingo Molnar summarized his pull request for changes to the x86 architecture bound for mainline inclusion in 2.6.25 noting, &quot;&lt;i&gt;it&#039;s not a small merge, it consists of 908 commits from 96 individual arch/x86 developers (!)&lt;/i&gt;&quot;.  He continued, &quot;&lt;i&gt;a number of core files are changed as well: most notably percpu, debugging details, timers, the firewire remote debugging patch and ... the KGDB remote debugging stub in kernel/kgdb.c.&lt;/i&gt;&quot;  He went on to detail the extent of the testing this tree has received, &quot;&lt;i&gt;in the past few weeks tens of thousands of random x86.git bzImages were  successfully built and booted on a number of (commodity) 32-bit and&lt;br /&gt;
64-bit testsystems - and there has been a fair amount of test exposure on -mm as well.&lt;/i&gt;&quot;  Regarding the remote kernel debugger, Ingo explained:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;We tested KGDB to be merge-worthy within the x86 architecture (the only supported architecture for now) and it&#039;s better to have kernel/kgdb.c than arch/x86/kernel/kgdb.c. The code is reasonably clean and the user-space exposure is small - the only real exposure is the decades-old remote GDB protocol. We are happy to fix up any further cleanliness comments that people might have - but we really wanted to start somewhere and get this thing moving. As an added bonus: finally a kernel debugger that can be read without puking too much ;-) [anyone remember KDB?]&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/Linux/x86_Architecture_Merges_in_2.6.25&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/Linux/x86_Architecture_Merges_in_2.6.25#comments</comments>
 <category domain="http://kerneltrap.org/2.6.25">2.6.25</category>
 <category domain="http://kerneltrap.org/debugger">debugger</category>
 <category domain="http://kerneltrap.org/taxonomy/term/206">Firewire</category>
 <category domain="http://kerneltrap.org/Ingo_Molnar">Ingo Molnar</category>
 <category domain="http://kerneltrap.org/taxonomy/term/811">kdb</category>
 <category domain="http://kerneltrap.org/kgdb">kgdb</category>
 <category domain="http://kerneltrap.org/Linux">Linux</category>
 <category domain="http://kerneltrap.org/x86">x86</category>
 <category domain="http://kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Fri, 01 Feb 2008 21:36:31 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">15390 at http://kerneltrap.org</guid>
</item>
<item>
 <title>KGDB Merge Postponed Until 2.6.25</title>
 <link>http://kerneltrap.org/Linux/KGDB_Merge_Postponed_Until_2.6.25</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&quot;&lt;i&gt;This is a request to merge KGDB into the mainline kernel,&lt;/i&gt;&quot; &lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2007/10/15/343561&quot;&gt;Jason Wessel announced&lt;/a&gt;, posting a series of patches aiming toward that goal.  He continued, &quot;&lt;i&gt;as of right now KGDB is comprised of 21 different patches adding in the core api and docs first and then working up to add drivers and arch specific support to KGDB.  The patches were broken down into logical pieces for review and comments.&lt;/i&gt;&quot;  He went on to explain:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;The intent of the KGDB patches is to unify the KGDB support across all the architectures that elect to implement the KGDB functionality by providing a common core and an arch specific stub.  For quite some time there has been different features and uses of KGDB across the most popular architectures.  Having a common core that takes care of protocol parsing and the typical use case of software breakpoints should eliminate the inconsistencies across the archs as well as making it easier to add KGDB support to a new arch.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Andrew Morton, who has been supportive of getting a kernel debugger into the mainline kernel, explained that it was too late in the 2.6.24 review cycle to merge KGDB, meaning it would have to wait for 2.6.25 at the earliest, &quot;&lt;i&gt;this won&#039;t work very well.  There&#039;s a lot of review work to be done here, and a lot of it by busy architecture maintainers.  Expecting people to do all this review and test work late in the merge window when they&#039;re all madly scrambling to get their bugs^Wpatches into mainline is not reasonable.  This should all have started a month ago.  So we&#039;re looking at a 2.6.25 merge for this work.&lt;/i&gt;&quot;&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/Linux/KGDB_Merge_Postponed_Until_2.6.25&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/Linux/KGDB_Merge_Postponed_Until_2.6.25#comments</comments>
 <category domain="http://kerneltrap.org/2.6.24">2.6.24</category>
 <category domain="http://kerneltrap.org/2.6.25">2.6.25</category>
 <category domain="http://kerneltrap.org/Andrew_Morton">Andrew Morton</category>
 <category domain="http://kerneltrap.org/debugger">debugger</category>
 <category domain="http://kerneltrap.org/Jason%20Wessel">Jason Wessel</category>
 <category domain="http://kerneltrap.org/kgdb">kgdb</category>
 <category domain="http://kerneltrap.org/merge_window">merge window</category>
 <category domain="http://kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Thu, 18 Oct 2007 14:37:11 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">14609 at http://kerneltrap.org</guid>
</item>
<item>
 <title>Linux:  Merging Kgdb?</title>
 <link>http://kerneltrap.org/node/14035</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&quot;&lt;i&gt;Is anyone testing the kgdb code in here?&lt;/i&gt;&quot; Andrew Morton asked in his release announcement for the 2.6.23-rc1-mm2 patchset.  Mike Frysinger asked, &quot;&lt;i&gt;does kgdb actually have a chance to get merged?  With the history of it, i just assumed it was never going in&lt;/i&gt;&quot;.  In the past, Linus Torvalds has resisted merging kernel debuggers and &lt;a href=&quot;http://lwn.net/2000/0914/a/lt-debugger.php3&quot;&gt;famously said&lt;/a&gt;, &