<br><font size=2><tt>Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
wrote on 05/29/2007 08:45:24 AM:<br>
<br>
&gt; This patch allows a ptracer to write to the &quot;trap&quot; word
of the<br>
&gt; pt_regs. This, along with the previous patch, should enable gdb<br>
&gt; to properly handle syscall restarting after executing a separate<br>
&gt; function (at least when there's no restart block).</tt></font>
<br>
<br><font size=2><tt>This doesn't look sufficient. &nbsp;If you want GDB
to use the save/</tt></font>
<br><font size=2><tt>restore style means of handling interrupted calls
(like i386),</tt></font>
<br><font size=2><tt>at the very least we also need the capability to *write*
the</tt></font>
<br><font size=2><tt>orig_gpr3 field, which is currently prohibited. &nbsp;(I
don't know</tt></font>
<br><font size=2><tt>why this is case, though.)</tt></font>
<br>
<br><font size=2 face="sans-serif"><br>
Mit freundlichen Gruessen / Best Regards<br>
<br>
Ulrich Weigand<br>
<br>
-- <br>
 &nbsp;Dr. Ulrich Weigand | Phone: +49-7031/16-3727<br>
 &nbsp;GNU compiler/toolchain for Linux on System z and Cell BE<br>
 &nbsp;IBM Deutschland Entwicklung GmbH<br>
 &nbsp;Vorsitzender des Aufsichtsrats: Martin Jetter | Geschäftsführung:
Herbert Kircher<br>
 &nbsp;Sitz der Gesellschaft: Böblingen | Registergericht: Amtsgericht
Stuttgart, HRB 243294</font>
<br>