PATCH: breakpoints for gdbserver

Daniel Jacobowitz drow@mvista.com
Tue Apr 16 07:35:00 GMT 2002


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



More information about the Gdb-patches mailing list