<br><font size=2><tt>Benjamin Herrenschmidt <benh@kernel.crashing.org>
wrote on 05/29/2007 08:45:24 AM:<br>
<br>
> This patch allows a ptracer to write to the "trap" word
of the<br>
> pt_regs. This, along with the previous patch, should enable gdb<br>
> to properly handle syscall restarting after executing a separate<br>
> function (at least when there's no restart block).</tt></font>
<br>
<br><font size=2><tt>This doesn't look sufficient. 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. (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>
Dr. Ulrich Weigand | Phone: +49-7031/16-3727<br>
GNU compiler/toolchain for Linux on System z and Cell BE<br>
IBM Deutschland Entwicklung GmbH<br>
Vorsitzender des Aufsichtsrats: Martin Jetter | Geschäftsführung:
Herbert Kircher<br>
Sitz der Gesellschaft: Böblingen | Registergericht: Amtsgericht
Stuttgart, HRB 243294</font>
<br>