This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: RFC: Program Breakpoints
On Wednesday 25 March 2009 07:57:26, Mark Kettenis wrote:
> These statements are all rather i386-centric. ?
These were examples, not statements of all-truth. I mentioned
ppc-linux, and darwin; you meant hardware-single-stepping-centric.
> Especially on targets
> that emulate single-stepping it may be impossible to distinguish. ?GDB
> should not depend on the ability to do so.
If it's impossible to distinguish for some reason, then the target would
still report SIGTRAP-means-all, like today. When the distinction on the
debug api side is buggy and inconsistent, then GDB is better off
without it.
--
Pedro Alves