Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* icache-dcache coherence on ARM
@ 2019-05-06 19:30 Xiaozhu Meng
  2019-05-06 20:52 ` John Baldwin
  0 siblings, 1 reply; 5+ messages in thread
From: Xiaozhu Meng @ 2019-05-06 19:30 UTC (permalink / raw)
  To: gdb

Hi,

I am reading gdb's source code to hopefully get answers for a question that
I have in my other project.

On ARM, the architecture does not guarantee that icache and dcache are
coherent. When GDB writes a software breakpoint into the inferior's address
space, is it possible that the inferior executes outdated code in icache
and thus miss the software breakpoint?

I try to search around the gdb code base to understand whether GDB flushes
icache or not, but could not find answers.

I appreciate any feedback!

Thanks,

--Xiaozhu


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-05-07  2:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-06 19:30 icache-dcache coherence on ARM Xiaozhu Meng
2019-05-06 20:52 ` John Baldwin
2019-05-06 21:17   ` Xiaozhu Meng
2019-05-06 21:37     ` John Baldwin
2019-05-07  2:52       ` Xiaozhu Meng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox