There seems to be a bug in the gdb patch... There should probably be a separate loop for wpts.<div><br></div><div><span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; font-size: medium; "><pre>      for (i = 0; i &lt; info-&gt;bp_count; i++)
&gt;         {
&gt;           if (arm_hwbp_control_is_enabled (p-&gt;bpts[i].control))
&gt;             arm_linux_insert_hw_breakpoint1 (p-&gt;bpts + i, tid, 0);
&gt;           if (arm_hwbp_control_is_enabled (p-&gt;wpts[i].control))
&gt;             arm_linux_insert_hw_breakpoint1 (p-&gt;wpts + i, tid, 1);
&gt;         }</pre></span><div><br></div><div>-Karthik</div><br><div class="gmail_quote">On Wed, Jul 7, 2010 at 10:02 PM, Will Deacon <span dir="ltr">&lt;<a href="mailto:will.deacon@arm.com">will.deacon@arm.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br>
<br>
&gt; This is version 4 of the patches originally posted at:<br>
&gt;<br>
&gt; v1.) <a href="http://lists.infradead.org/pipermail/linux-arm-kernel/2010-February/009084.html" target="_blank">http://lists.infradead.org/pipermail/linux-arm-kernel/2010-February/009084.html</a><br>
&gt; v2.) <a href="http://lists.infradead.org/pipermail/linux-arm-kernel/2010-March/011170.html" target="_blank">http://lists.infradead.org/pipermail/linux-arm-kernel/2010-March/011170.html</a><br>
&gt; v3.) <a href="http://lists.infradead.org/pipermail/linux-arm-kernel/2010-June/017680.html" target="_blank">http://lists.infradead.org/pipermail/linux-arm-kernel/2010-June/017680.html</a><br>
&gt;<br>
&gt; Changes from v3 include:<br>
&gt;       - Based on 2.6.35-rc3<br>
&gt;       - Support for unaligned addresses<br>
&gt;       - Numerous bug fixes<br>
&gt;       - Tested with GDB, for which the testsuite passes<br>
&gt;<br>
&gt; GDB patches have been posted here:<br>
&gt;<br>
&gt; <a href="http://sourceware.org/ml/gdb-patches/2010-07/msg00110.html" target="_blank">http://sourceware.org/ml/gdb-patches/2010-07/msg00110.html</a><br>
&gt;<br>
&gt; I&#39;d like to get these patches applied now that I&#39;m confident that<br>
&gt; they function correctly, so please give them a go.<br>
&gt;<br>
&gt; Cc: Frederic Weisbecker &lt;<a href="mailto:fweisbec@gmail.com">fweisbec@gmail.com</a>&gt;<br>
&gt; Cc: S. Karthikeyan &lt;<a href="mailto:informkarthik@gmail.com">informkarthik@gmail.com</a>&gt;<br>
&gt; Cc: Matthew Gretton-Dann &lt;<a href="mailto:matthew.gretton-dann@arm.com">matthew.gretton-dann@arm.com</a>&gt;<br>
&gt;<br>
<br>
I accidentally passed suppress-cc=all to git send-email, so this<br>
is a pointer for the people I meant to CC. If you want to view<br>
the patchset it&#39;s archived at:<br>
<br>
<a href="http://lists.infradead.org/pipermail/linux-arm-kernel/2010-July/019882.html" target="_blank">http://lists.infradead.org/pipermail/linux-arm-kernel/2010-July/019882.html</a><br>
<br>
Sorry about that,<br>
<font color="#888888"><br>
Will<br>
<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>---<br>S. Karthikeyan | +919980814745<br>---<br>
</div>