This is the mail archive of the
mailing list for the Archer project.
Re: ugdb && breakpoints
The traditional method is to restore the original instruction replaced by
the breakpoint in text, single-step over that instruction, then restore the
breakpoint in text, then continue. That method requires all-stop so that
while you are stepping the thread that just hit the breakpoint, you can't
have another thread run past that instruction and miss the breakpoint.
Both this traditional in-place method, and the instruction-copying method,
depend on using single-step. So "stepi" has to work before "break" can work.