Date: Wed, 03 Sep 1997 13:25:19 -0700 From: Kevin Hayes <kevin@ipsilon.com> To: freebsd-hackers@freebsd.org Subject: Looking at kernel disassembly Message-ID: <340DC7AF.A4E99435@ipsilon.com>
next in thread | raw e-mail | index | archive | help
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 |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?340DC7AF.A4E99435>