Automatic population of the GDB settings for a new Yocto Autotools C++ project only happens as long as a debug session has not yet been run. Once a project is debugged, any subsequently created projects are not automatically configured and instead contain the defaults: GDB Debugger: gdb GDB command file: .gdbinit Instead of the correct: GDB Debugger: <path_to_toolchain_gdb> GDB command file: <path_to_project_gdbinit_file> Possibly related: https://bugzilla.yoctoproject.org/show_bug.cgi?id=192 https://bugzilla.yoctoproject.org/show_bug.cgi?id=7550
Failed to replicate with YP 2.3 releases (plugin,toolchain and sysroots) for qemux86 on both neon.3 (4.6.3) and mars.2 (4.5.2). The relevant entries should (and do for me) appear in workspace/<proj_name>/<proj_name>_gdb_i586-poky-linux.launch or whatever architecture you are using instead of i586. I'll close this now as I can't replicate it, but you can reopen if you have more information. In Run->DebugConfigurations, under C/C++ Remote Application, you should see and be able to choose from a list of <proj_nam>_gdb_i586-poky-linux.
Created attachment 4097 [details] Image of first Yocto Autotools project created with working GDB debug settings automatically applied.
Created attachment 4098 [details] Image of second Yocto Autotools project created with GDB debug settings not automatically applied.
I am still getting the described behavior. After a complete re-installation of the development environment I still only have GDB debug settings applied to the first project I create in a workspace, but not to any subsequently created projects, which must be done manually. This happens for both qemuarm and qemuarm64 builds I have done. I have followed the Yocto guides for installing the build environment and eclipse and additional software, and I have added and installed the 2.3.2 (latest I can see) version of the plugin. See the attachments for images of the observed behavior.
Moving to Chin Huat. I could not replicate this, but the reporter is seeing this repeatedly. Maybe you can replicate it?
Eclipse got dropped from project support.
closing