DTrace/FreeBSD source snapshot

John Birrell jb at what-creek.com
Sat Feb 2 12:53:13 PST 2008

On Sat, Feb 02, 2008 at 03:28:43PM +0200, Andrew Pogrebennyk wrote:
> In these lines we are trying to case pointer to struct trapframe to 
> pointer to u_char like:
> frame->tf_eip += dtrace_instr_size((u_char *) frame->tf_eip);
> What do i do to get it to work?

Looks like I'm missing:

#include <machine/frame.h>

John Birrell

More information about the freebsd-current mailing list