NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-evbarm/40311: No kernel symbols on tsarm



The following reply was made to PR port-evbarm/40311; it has been noted by 
GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: lloyd%must-have-coffee.gen.nz@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: port-evbarm/40311: No kernel symbols on tsarm
Date: Fri, 2 Jan 2009 02:15:57 +0100

 On Thu, Jan 01, 2009 at 03:55:00AM +0000, 
lloyd%must-have-coffee.gen.nz@localhost wrote:
 > #if NKSYMS || defined(DDB) || defined(MODULAR)
 >         /* Firmware doesn't load symbols. */
 >         ksyms_addsyms_elf(0, NULL, NULL);
 > #endif
 
 I think it would be better to move the #ifdef SYMTAB_SPACE handling
 from ksyms_addsyms_elf() to ksyms_init(). Besides I do not understand how
 it even works with start == NULL.
 
 Calls that look like they add zero symbols from nowhere but instead perform
 deep magic are kinda evil.
 
 Martin
 


Home | Main Index | Thread Index | Old Index