From owner-freebsd-hackers Wed Sep 3 13:26:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA04882 for hackers-outgoing; Wed, 3 Sep 1997 13:26:02 -0700 (PDT) Received: from mailhost.Ipsilon.COM (mailhost.ipsilon.com [205.226.5.12]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id NAA04873 for ; Wed, 3 Sep 1997 13:25:59 -0700 (PDT) Received: from munger.ipsilon.com ([205.226.22.42]) by mailhost.Ipsilon.COM (8.6.11/8.6.10) with ESMTP id NAA29593 for ; Wed, 3 Sep 1997 13:25:28 -0700 Message-ID: <340DC7AF.A4E99435@ipsilon.com> Date: Wed, 03 Sep 1997 13:25:19 -0700 From: Kevin Hayes Reply-To: kevin@ipsilon.com Organization: Ipsilon Networks X-Mailer: Mozilla 4.01 [en] (Win95; I) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Looking at kernel disassembly X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk How can one inspect a disassebled kernel with symbols? objdump does not seem to be very useful: kernel: file format a.out-i386-freebsd Disassembly of section .text: 00000000 <_btext-f0100000> movw $0x1234,0x472 00000009 <_btext-f00ffff7> pushl %ebp 0000000a <_btext-f00ffff6> movl %esp,%ebp 0000000c <_btext-f00ffff4> pushl $0x2 0000000e <_btext-f00ffff2> popf 0000000f <_btext-f00ffff1> movw %ds,%ax [...] As you can see, there's no useful symbolic info for the text. I config'd this kernel with 'config -g'...how can I get objdump to show symbols? Do I have to comment out the symorder(1) call in the Makefile or something? Please reply directly as I'm not on this list. Thanks. K++ -- Kevin Hayes | "Nobody can make you feel inferior Ipsilon Networks | without your consent." kevin@ipsilon.com | ---Eleanor Roosevelt (408)-990-2086 |