This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Ignore breakpoints when reading memory.
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Tue, 4 Dec 2007 14:22:01 -0500
- Subject: Re: [RFA] Ignore breakpoints when reading memory.
- References: <200712011419.45773.vladimir@codesourcery.com>
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