This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: breakpoint.c patch


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]