<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/arch/microblaze/include/asm/kgdb.h, branch v3.0.63</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>microblaze: Add KGDB support</title>
<updated>2010-08-04T08:45:17+00:00</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2010-08-03T09:45:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2d5973cb5ac5d04662f86e19a06a4c52fa4c4ae3'/>
<id>2d5973cb5ac5d04662f86e19a06a4c52fa4c4ae3</id>
<content type='text'>
Kgdb uses brki r16, 0x18 instruction to call
low level _debug_exception function which save
current state to pt_regs and call microblaze_kgdb_break
function. _debug_exception should be called only from
the kernel space. User space calling is not supported
because user application debugging uses different handling.

pt_regs_to_gdb_regs loads additional special registers
which can't be changed

 * Enable KGDB in Kconfig
 * Remove ancient not-tested KGDB support
 * Remove ancient _debug_exception code from entry.S

Only MMU KGDB support is supported.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
CC: Jason Wessel &lt;jason.wessel@windriver.com&gt;
CC: John Williams &lt;john.williams@petalogix.com&gt;
CC: Edgar E. Iglesias &lt;edgar.iglesias@petalogix.com&gt;
CC: linux-kernel@vger.kernel.org
Acked-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Kgdb uses brki r16, 0x18 instruction to call
low level _debug_exception function which save
current state to pt_regs and call microblaze_kgdb_break
function. _debug_exception should be called only from
the kernel space. User space calling is not supported
because user application debugging uses different handling.

pt_regs_to_gdb_regs loads additional special registers
which can't be changed

 * Enable KGDB in Kconfig
 * Remove ancient not-tested KGDB support
 * Remove ancient _debug_exception code from entry.S

Only MMU KGDB support is supported.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
CC: Jason Wessel &lt;jason.wessel@windriver.com&gt;
CC: John Williams &lt;john.williams@petalogix.com&gt;
CC: Edgar E. Iglesias &lt;edgar.iglesias@petalogix.com&gt;
CC: linux-kernel@vger.kernel.org
Acked-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
