This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: No code to flush instruction cache in gdbserver?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]