<br><font size=2><tt>Benjamin Herrenschmidt <benh@kernel.crashing.org>
wrote on 05/29/2007 11:41:40 PM:<br>
<br>
> On Tue, 2007-05-29 at 17:41 +0200, Ulrich Weigand wrote:<br>
> > This doesn't look sufficient. If you want GDB to use the
save/ <br>
> > restore style means of handling interrupted calls (like i386),
<br>
> > at the very least we also need the capability to *write* the
<br>
> > orig_gpr3 field, which is currently prohibited. (I don't
know <br>
> > why this is case, though.) <br>
> <br>
> It's not prohibited afaik ... we allow writing to everything <=
MQ (39)<br>
> on 32 bits and <= CCR (38) on 64 bits and ORIG_R3 qualifies (34)</tt></font>
<br>
<br><font size=2><tt>Um? I see this in the PTRACE_POKEUSR case in
arch_ptrace:</tt></font>
<br>
<br><font size=2><tt>
if (index == PT_ORIG_R3)</tt></font>
<br><font size=2><tt>
break;</tt></font>
<br>
<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>