From owner-freebsd-drivers@FreeBSD.ORG Thu Mar 2 22:26:22 2006 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7367016A420 for ; Thu, 2 Mar 2006 22:26:22 +0000 (GMT) (envelope-from dave@randomparity.com) Received: from fed1rmmtao07.cox.net (fed1rmmtao07.cox.net [68.230.241.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 855B643D46 for ; Thu, 2 Mar 2006 22:26:16 +0000 (GMT) (envelope-from dave@randomparity.com) Received: from gateway.randomparity.com ([68.4.169.57]) by fed1rmmtao07.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060302222502.YWQL3131.fed1rmmtao07.cox.net@gateway.randomparity.com> for ; Thu, 2 Mar 2006 17:25:02 -0500 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by gateway.randomparity.com (Postfix) with ESMTP id 4FAAE31BC57 for ; Thu, 2 Mar 2006 12:57:22 -0800 (PST) Received: from gateway.randomparity.com (localhost.localdomain [127.0.0.1]) by localhost.localdomain (AvMailGate-2.0.2-9) id 22025-346B50A0; Thu, 02 Mar 2006 12:57:21 -0800 Received: by gateway.randomparity.com (Postfix, from userid 429) id B928E31BC5F; Thu, 2 Mar 2006 12:57:21 -0800 (PST) Received: from snoopy.randomparity.com (unknown [10.1.1.4]) by gateway.randomparity.com (Postfix) with ESMTP id CA1DC31BC57 for ; Thu, 2 Mar 2006 20:57:18 +0000 (UTC) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Thu, 2 Mar 2006 14:26:00 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Message-ID: <22C21BFBEB52B340A1F422CB0D88F5872DFC@snoopy.randomparity.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Source/Assembly Listing for Kernel Loadable Modules Thread-Index: AcY+SEiYse2nXHdCTMuljd//m88KlA== From: "David Christensen" To: X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on gateway.randomparity.com X-Spam-Level: X-Spam-Status: No, score=0.2 required=4.0 tests=AWL autolearn=ham version=3.0.4 X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-9; AVE: 6.33.1.3; VDF: 6.33.1.52; host: gateway.randomparity.com) Subject: Source/Assembly Listing for Kernel Loadable Modules X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2006 22:26:22 -0000 I'm sure this is an easy question but I haven't seen the answer during my Google search. I just want to get a source listing from my module with the assembly code intermixed with the source code. The objdump utility is supposed to be able to do this (objdump --source filename) but when I run it on my kernel module all I get is the assembly output. What step did I miss? I assume there is a change to my Makefile but I don't know what it is. Thanks in advance. David Christensen