* ptrace question
@ 2008-07-14 11:02 Harald Krapfenbauer
2008-07-14 11:43 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Harald Krapfenbauer @ 2008-07-14 11:02 UTC (permalink / raw)
To: linux-mips@linux-mips.org
Hello,
If I write memory (maybe with instructions) of a traced application with
the ptrace() call, are the caches invalidated automatically, i.e. can I
assume that the processor uses the newly written values after continuing?
Thanks + best regards,
Harald
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ptrace question
2008-07-14 11:02 ptrace question Harald Krapfenbauer
@ 2008-07-14 11:43 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2008-07-14 11:43 UTC (permalink / raw)
To: Harald Krapfenbauer; +Cc: linux-mips@linux-mips.org
On Mon, Jul 14, 2008 at 01:02:26PM +0200, Harald Krapfenbauer wrote:
> Hello,
>
> If I write memory (maybe with instructions) of a traced application with
> the ptrace() call, are the caches invalidated automatically, i.e. can I
> assume that the processor uses the newly written values after continuing?
ptrace semantics requires PTRACE_POKETEXT to ensure I-cache coherency and
consistency.
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-14 11:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-14 11:02 ptrace question Harald Krapfenbauer
2008-07-14 11:43 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox