<p dir="ltr">Well, this is useful because you have your FW build and your symbols right next to it for each build.</p>
<p dir="ltr">Then, you can store them somewhere (FW + debug symbols) and if you get a crash/segfault on a specific build number you're covered because you can pull symbols and use them on coredumps for that specific build.</p>

<div class="gmail_quote">On 1 Aug 2014 14:34, "Karl P" <<a href="mailto:karlp@tweak.net.au">karlp@tweak.net.au</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On 08/01/2014 11:27 AM, Felix Fietkau wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 2014-07-24 17:26, Helmut Schaa wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Introduce a new config symbol EXTRACT_DEBUGINFO to extract debuginfo<br>
from all binaries. This depends on USE_STRIP and DEBUG.<br>
<br>
The debuginfo of all packages will be extracted from the binary<br>
and copied into "bin/$platform/debuginfo".<br>
<br>
This allows better debugging of coredumps by loading the debuginfo<br>
into gdb.<br>
<br>
Signed-off-by: Helmut Schaa <<a href="mailto:helmut.schaa@googlemail.com" target="_blank">helmut.schaa@googlemail.com</a>><br>
</blockquote>
How does this patch help with debugging? Debug info is already staged in<br>
staging_dir/target-*/root-*. This path is used by scripts/remote-gdb,<br>
which also accepts corefiles.<br>
</blockquote>
<br>
That sounds awesome.  Maybe you could elaborate on this either here:<br>
<a href="http://wiki.openwrt.org/doc/devel/debugging" target="_blank">http://wiki.openwrt.org/doc/<u></u>devel/debugging</a><br>
or<br>
<a href="http://wiki.openwrt.org/doc/devel/gdb" target="_blank">http://wiki.openwrt.org/doc/<u></u>devel/gdb</a><br>
<br>
There's clearly lots of useful stuff there that no-one else knows about.<br>
<br>
Cheers,<br>
Karl P<br>
______________________________<u></u>_________________<br>
openwrt-devel mailing list<br>
<a href="mailto:openwrt-devel@lists.openwrt.org" target="_blank">openwrt-devel@lists.openwrt.<u></u>org</a><br>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" target="_blank">https://lists.openwrt.org/cgi-<u></u>bin/mailman/listinfo/openwrt-<u></u>devel</a><br>
</blockquote></div>