From owner-freebsd-current@FreeBSD.ORG Sat Feb 2 20:53:13 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C77F16A419 for ; Sat, 2 Feb 2008 20:53:13 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.freebsd.org (Postfix) with ESMTP id 2CB5813C4DD for ; Sat, 2 Feb 2008 20:53:12 +0000 (UTC) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id 0B30D732FF; Sat, 2 Feb 2008 20:36:33 +0000 (GMT) Date: Sat, 2 Feb 2008 20:36:33 +0000 From: John Birrell To: Andrew Pogrebennyk Message-ID: <20080202203632.GB96610@what-creek.com> References: <20080201093538.GA83169@what-creek.com> <18339.35979.765504.132672@grasshopper.cs.duke.edu> <20080201223719.GA88460@what-creek.com> <47A4700B.3000001@portaone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47A4700B.3000001@portaone.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: DTrace/FreeBSD source snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2008 20:53:13 -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 -- John Birrell