Re: DTrace/FreeBSD source snapshot

From: John Birrell <jb_at_what-creek.com>
Date: Sat, 2 Feb 2008 20:36:33 +0000
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
Received on Sat Feb 02 2008 - 19:53:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:26 UTC