No code to flush instruction cache in gdbserver?
Daniel Jacobowitz
drow@false.org
Mon Aug 1 13:13:00 GMT 2005
On Mon, Aug 01, 2005 at 05:32:21PM +0800, Jie Zhang wrote:
> Hi,
>
> I have a question about gdbserver. For some architectures it's needed
> to flush instruction cache to maintain the cache coherency after
> inserting or removing breakpoint.
It's not gdbserver's responsibility. If your kernel fails to flush the
cache after PTRACE_POKETEXT, then report that as a kernel bug.
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Gdb
mailing list