Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: ARM backtrace

Re: ARM backtrace

From: Marcin Bukat <marcin.bukat_at_gmail.com>
Date: Sun, 2 Oct 2011 09:11:49 +0200

> I've only kept the function names, keeping all the symbols would be insane.
> Compression is an interesting idea. With lzma -9, it goes down to 16Kib but
> of course that would mean we need a decompressor so one would need to take
> its size into account (I think there is a light lzma decompressor which fits
> in a few Kb).

After thinking a bit I think we should simply append symbol table at
the end of rockbox binary and make loader aware of it (and don't load
it on boot). We can load it from within UIE if we are in a state where
it is possible (and the state where it is impossible to load from
storage will not produce backtrace anyway I guess). The second benefit
would be that we have coupled map with binary - something amiconn
wanted. This way at the tiny cost of slightly increase in distributed
binary (but not at the cost of mem usage) we can have symbols +
possibly backtrace.

wo
Received on 2011-10-02


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa