[RFA] Ignore breakpoints when reading memory.

Daniel Jacobowitz drow@false.org
Tue Dec 4 19:22:00 GMT 2007


On Sat, Dec 01, 2007 at 02:19:45PM +0300, Vladimir Prus wrote:
> 
> This commit prepares us for always-inserted-breakpoints mode.
> If breakpoints are always inserted, then reading the code memory
> will read the breakpoint instructions, not the original content.
> This patch makes us try to restore the original comments using
> the breakpoints table. OK?

Doesn't this make the extra call in read_memory_nobpt redundant?

Are there any sites that need to see the breakpoint?  For instance,
look at ppc_linux_memory_remove_breakpoint.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list