breakpoint.c patch

Kevin Buettner kevinb@cygnus.com
Mon Aug 23 14:47:00 GMT 1999


J.T. Conklin wrote:

> One concern I have with this patch is that on my NetBSD/i386 system
> temporary breakpoints are removed when single stepping.  Like Linux,
> NetBSD/i386 has a non-zero DECR_PC_AFTER_BREAK and single step is
> implemented with hardware.  I've briefly examined the NetBSD kernel
> code, and can't find evidence that it's doing anything unusual like

Thanks for the warning.  I'll do a NetBSD install and will test
there before committing anything.  (Actually, I'll post another
patch to the list first as well.)

> adjusting the program counter.  I'll spend more time investigating
> that, plus running on an embedded X86 target running the remote
> protocol later this evening.

Thanks.  I look forward to seeing your results...

Kevin


More information about the Gdb mailing list