<div dir="auto">According to <a href="https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html" target="_blank" rel="noreferrer">https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html</a><div dir="auto"><br></div><div dir="auto">you should add another objcopy command</div><div dir="auto"><br></div><div dir="auto"><pre><kbd>objcopy --add-gnu-debuglink=foo.debug foo</kbd>
</pre><pre><kbd><br></kbd></pre><pre><kbd>for debuglink method. While it also says some versions</kbd></pre><pre><kbd> of strip command also can do this part automatically</kbd></pre><pre><kbd>I think we can try first method just for seeing now it</kbd></pre><pre><kbd>works (I suspect fedora debug packages not showing all info</kbd></pre><pre><kbd>actually related to this missing command).</kbd></pre><pre><kbd><br></kbd></pre><pre><kbd>build-tested on termux only.</kbd></pre><pre><kbd><br></kbd></pre><pre><kbd><br></kbd></pre><pre><kbd><br></kbd></pre><pre><kbd><br></kbd></pre><pre><kbd><br></kbd></pre><pre><kbd><br></kbd></pre></div></div>