This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: PATCH: breakpoints for gdbserver
On Tue, Apr 16, 2002 at 01:47:17AM -0400, Andrew Cagney wrote:
> >This gives gdbserver a framework for memory-shadowing breakpoints,
> >invisible
> >to GDB. They won't behave gracefully if GDB tries to single-step over them
> >or if the user puts breakpoints at the same places; I intend to control all
> >the cases where gdbserver might insert them with command line options, so
> >that if (say) you want to debug LinuxThreads, you can turn off gdbserver
> >thread support. That's the only way to get reasonable results, IMHO.
>
> Um, what exactly do you mean by ``memory-shadowing breakpoints''?
Sorry - breakpoints which overwrite an instruction, but keep a shadow
buffer so that GDB can't even tell they are there. Pretty standard
software breakpoints, really.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer