static function table in DDB

Andrew Thompson thompsa at FreeBSD.org
Fri Aug 15 17:41:53 UTC 2008


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


More information about the freebsd-arm mailing list