Ptracer is a project mainly written in C, it's free.
quick n' dirty instruction trace generation tool
ptracer by nick black [email protected]
ptracer is a simple wrapper around ptrace(2). It'll step through a process, using libdisasm to disassembler and show each instruction executed.