On Mon, Apr 30, 2007 at 10:08:40AM +0100, Christoph Hellwig wrote:
> Btw, is there a fundamental reason why an architecture would not support
> single-stepping except for a transition period of porting, i.e. are there
> real hardware limitation in any of our ports?
Roland's idea of single-stepping is that it *must* be supported by
hardware for utrace to use it. There are a number of architectures
which can only do single-stepping by modifying the text of the
program being single stepped. ARM is one such example.
As such, even when utrace is complete, some architectures will never
support in-kernel single step with utrace. I believe Roland's idea
is to have single step supported on these via some vapourware userspace
library.
My biggest worry is that the architectures which do not support hardware
single stepping are seen by many people as "minority architectures" which
"don't really matter" and as such making support for a feature such a
special case will probably result in the feature effectively being
unavailable on those architectures.
As such I have zero motivation to continue my forrey into utrace from
a couple of months ago. I'd also like to see utrace become *optional*
for architectures to support, rather than as it currently stands as
a *mandatory* requirement when merged.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]