On Fri, 23 Jun 2023 at 17:42, Christian Eggers <[email protected]> wrote:
> In my project I have added BBCLASSEXTEND="nativesdk" to many bbappends in 
> order to have most
> libraries I use on my target also for nativesdk (I can compile my embedded 
> application also
> for nativesdk then). As debugging performance using gdbserver is quite poor 
> on my system,
> developing my application with nativesdk is a welcome alternative (that's  
> why I also have
> enabled debug information nativesdk).
>
> But from some previous comments on the OE list it seems that nativesdk is not 
> really intended
> for this purpose. But what is the alternative? Having two SDKs?

The intended way to debug an app is to actually run it in a target
environment or in qemu system emulation. Yes this is more tricky to
set up, but allowing native or nativesdk builds of the target stack
for the sake of debugging is a can of worms I would not want to open.

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#183335): 
https://lists.openembedded.org/g/openembedded-core/message/183335
Mute This Topic: https://lists.openembedded.org/mt/99701056/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to