Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2004 07:31:58 +0800
From:      David Xu <davidxu@freebsd.org>
To:        freebsd-threads@freebsd.org
Subject:   ptrace_clear_single_step
Message-ID:  <401997EE.3040102@freebsd.org>
In-Reply-To: <20040129161152.GA1070@mobile.acsolutions.com>
References:  <20040129082122.GA1439@mobile.acsolutions.com> <Pine.GSO.4.10.10401290855160.29384-100000@pcnet5.pcnet.com> <20040129161152.GA1070@mobile.acsolutions.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Is there any reason that ptrace_clear_single_step is not needed ?
I found that alpha implemented it, but not other architectures.
For multiple threads, debugger need to turn off single step status for
specific thread, I found gdb even hacked it to clear single step flag
in %eflag registers on i386 because kernel does not provide a clean
way to clear it.

David Xu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?401997EE.3040102>