Re: ptrace question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux