On 04/18/2016 05:52 PM, Andreas Müller wrote:
On Mon, Apr 18, 2016 at 11:34 AM, Hongxu Jia <[email protected]> wrote:
On 04/18/2016 05:15 PM, Andreas Müller wrote:
So remote debugging is no more available for standard settings. I am
tempted to send a revert: Installing -dbg causes bloated images and
debugging on machine is slow and last resort only.
I think we support remote debugging better since -fdebug-prefix-map used,
It is easy to construct sources paths.
Yours remote debug was limited to original build environment.
//Hongxu
Andreas
OK I checked the documentation for this. You say setting sysroot is
broken now. How exactly is your suggested option for *remote*
debugging? And please note: Installing -dbg packages is not an option:
In your case for remote debug with build environment,
My suggestions is:
Plan1:
If sysroot is not required, just install extract *-dpb to /usr/src/ in host
Plang2:
If sysroot is required, override DEBUG_FLAGS to remove -fdebug-prefix-map
//Hongxu
* It explodes image's size
* problems are caused by having only one -dbg per recipe: due to
dependencies conflicting packages are installed causing build to break
* it is terribly slow: All source code is transferred by network
during debugging
* a quick starting up of debugger is impossible - a new image has to be created.
Andreas
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core