RFC: Program Breakpoints

Pedro Alves pedro@codesourcery.com
Wed Mar 25 13:17:00 GMT 2009


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



More information about the Gdb mailing list