Date: Fri, 15 Aug 2008 10:41:43 -0700 From: Andrew Thompson <thompsa@FreeBSD.org> To: Olivier Houchard <mlfbsd@ci0.org> Cc: freebsd-arm@freebsd.org Subject: Re: static function table in DDB Message-ID: <20080815174143.GG94816@citylink.fud.org.nz> In-Reply-To: <20080815133841.GA58191@ci0.org> References: <20080814215435.GA94816@citylink.fud.org.nz> <20080815133841.GA58191@ci0.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 15, 2008 at 03:38:41PM +0200, Olivier Houchard wrote: > On Thu, Aug 14, 2008 at 02:54:35PM -0700, Andrew Thompson wrote: > > Hi, > > > > > > I notice that DDB on Arm does not have the static functions in the symbol > > table (vs. i386 for instance). Is this something that I can enable? It > > makes stack traces difficult to use as it will print the function as the > > nearest global with a largish offset. > > > > Hi, > > The problem is probably, your bootloader doesn't load the kernel symbol table, > as it is not an ELF loadable section. > You can try to boot "kernel.tramp", instead of the regular "kernel". it is > a tiny ELF trampoline, which will handles the kernel relocation, and put > the symbol table somwhere where the kernel will find it. This indeed fixed it! thanks, Andrew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080815174143.GG94816>