<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 18 April 2016 at 14:08, Hongxu Jia <span dir="ltr">&lt;<a href="mailto:hongxu.jia@windriver.com" target="_blank">hongxu.jia@windriver.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":c2" class="a3s aXjCH">If sysroot is required, override DEBUG_FLAGS to remove -fdebug-prefix-map<br></div></blockquote><div><br></div><div>We should probably get this in the release notes, as many people do indeed want remote debug to work.</div><div><br></div><div>Can you tell gdb the base path to use when looking for symbols?  I&#39;ve not done remote GDB for some time but wouldn&#39;t &quot;set substitute-path / //my/sysroot/&quot; work?  Or maybe /usr /my/sysroot/usr?</div><div><br></div><div>If gdb can&#39;t be told then instead of having to replace all of DEBUG_FLAGS it would be neat if the prefix mapping variables where in another variable that could just be unset.</div><div><br></div><div>Ross</div></div></div></div>