break of close loop

Simon Richter Simon.Richter@hogyros.de
Fri Nov 4 15:19:00 GMT 2005


Hi,

Dave Korn wrote:

>   The stub is probably implemented by placing a temp breakpoint immediately
> after the instruction to be tested, but has negelected the fact that to handle
> jumps you may need to place the temp breakpoint somewhere _other_ than
> immediately after the instruction,

The question at hand appears to be breakpoints placed on top of the 
instruction being stepped, as the instruction steps back to itself. This 
is especially common on architectures with a dedicated "decrement and 
jump if not zero" instruction.

    Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/gdb/attachments/20051104/5ad082b0/attachment.sig>


More information about the Gdb mailing list