This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC/RFA/i386] pb reading insns if breakpoints still inserted
> Date: Sat, 29 Apr 2006 13:10:45 -0400
> From: Daniel Jacobowitz <drow@false.org>
>
> On Sat, Apr 29, 2006 at 07:47:45PM +0300, Eli Zaretskii wrote:
> > > Date: Sat, 29 Apr 2006 11:05:57 -0400
> > > From: Daniel Jacobowitz <drow@false.org>
> > >
> > > Right now, there are many ways to read memory; two of them skip
> > > inserted breakpoints, and the others don't.
> >
> > What will break if we make them all skip breakpoints?
>
> I don't know. The only one I know of offhand is ppc-linux-tdep.c's
> shared library support, which provides an alternate memory remove
> breakpoint method.
Well, then maybe we should make all memory reads skip breakpoints,
except those that we know need to see the breakpoint instruction.