Date: Sat, 2 Feb 2008 20:36:33 +0000 From: John Birrell <jb@what-creek.com> To: Andrew Pogrebennyk <marduk@portaone.com> Cc: freebsd-current@freebsd.org Subject: Re: DTrace/FreeBSD source snapshot Message-ID: <20080202203632.GB96610@what-creek.com> In-Reply-To: <47A4700B.3000001@portaone.com> References: <20080201093538.GA83169@what-creek.com> <18339.35979.765504.132672@grasshopper.cs.duke.edu> <20080201223719.GA88460@what-creek.com> <47A4700B.3000001@portaone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080202203632.GB96610>