On Wed, 2002-02-06 at 04:03, Jacky Lam wrote: > I want to trap a floating point instruction for a user program, so as to > get a stack trace of functions calling the fp instruction. Is there any way > to do this? > > I have tried libfloat and disable fp emulator in kernel. But I have to > recompile all my libraries and program. It would be great if there is a > simple way to do this.
Don't think so, at the moment. But it probably wouldn't be too hard to arrange to disable the floating point emulator on a per-process basis, which seems like quite an attractive idea. Be nice to be able to do that for unaligned accesses too. p. _______________________________________________ http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm http://www.arm.linux.org.uk/armlinux/mailinglists.php Please visit the above addresses for information on this list.
