Thread (5 messages) flat view 5 messages, 2 authors, 2007-05-30

Re: [RFC/PATCH 5/5] powerpc: Allow ptrace write to pt_regs trap

From: Ulrich Weigand <hidden>
Date: 2007-05-29 15:42:02

Benjamin Herrenschmidt [off-list ref] wrote on 05/29/2007 
08:45:24 AM:
This patch allows a ptracer to write to the "trap" word of the
pt_regs. This, along with the previous patch, should enable gdb
to properly handle syscall restarting after executing a separate
function (at least when there's no restart block).
This doesn't look sufficient.  If you want GDB to use the save/
restore style means of handling interrupted calls (like i386),
at the very least we also need the capability to *write* the
orig_gpr3 field, which is currently prohibited.  (I don't know
why this is case, though.)


Mit freundlichen Gruessen / Best Regards

Ulrich Weigand

-- 
  Dr. Ulrich Weigand | Phone: +49-7031/16-3727
  GNU compiler/toolchain for Linux on System z and Cell BE
  IBM Deutschland Entwicklung GmbH
  Vorsitzender des Aufsichtsrats: Martin Jetter | Geschäftsführung: 
Herbert Kircher
  Sitz der Gesellschaft: Böblingen | Registergericht: Amtsgericht 
Stuttgart, HRB 243294
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help