Re: [RFC] Two patches - ptrace single stepping + modpost.c

Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Wed, 28 May 2003 19:44:27 +0400


On Wed, May 28, 2003 at 12:58:53PM +0100, Russell King wrote:
> Other architectures which use similar schemes (eg, alpha) might also
> like this; it looks like Alpha may be a little buggy; it appears
> to carry the single stepping status across signal handling. What
> happens if the debugger decides to disable single stepping when
> the debugged process receives a signal?

Alpha was buggy, indeed. Hopefully fixed in current bk.
However, we don't need special flag for single stepping - we use
thread_info->bpt_nsaved as such flag.

Ivan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/