Questionable breakpoint stepping code

Michael Snyder msnyder@specifix.com
Mon Nov 26 19:28:00 GMT 2007


On Mon, 2007-11-26 at 22:16 +0300, Vladimir Prus wrote:

> > As for your last question, no, I don't believe we approve
> > of ifdefs...
> 
> Well, the question, then is -- how do we make this code work
> correctly even if the instruction at PC is not 4 bytes in size?
> Calling disassembler seems a plausible approach.

Good suggestion.




More information about the Gdb mailing list