Kernel symbol file alternate location
Daniel O'Connor
doconnor at gsoft.com.au
Thu Aug 5 23:54:23 UTC 2010
On 06/08/2010, at 2:38, Oliver Fromme wrote:
>> I think this is the main reason / has had to grow - the actual kernel
>> is relatively small so even a 256Mb / could hold several, but with
>> the symbol files it is not possible.
>
> I think a very simple solution would be to install the symbol
> files elsewhere (probably configurable via make.conf), and
> install symlinks in the kernel directory. If you do this,
> tools using the symbol files won't have to be changed.
>
> This would probably be a fairly trivial change to the install-
> kernel target, I guess. I don't have patches, though.
Yeah, I don't think it's hard to move them, however I'm worried what it will break :)
The only thing I can see that would have to change would be kgdb so it tells gdb where to find the symbols.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
More information about the freebsd-stable
mailing list