Debug configuration generated for Yocto Autotools/CMake project cannot be used with the default launcher from CDT 8.7., i.e. "CDT(DSF) Automatic Remote Debugging Launcher". It is missing the correct paths to .gdbinit and cross-gdb. ------------------------------ Steps to reproduce: 1. Setup Yocto ADT cross development profile 2. Create New C Project of type "Yocto Project ADT CMake Project" 3. Open debug configuration for the new project. Notice "Using Legacy Remote Create Process Launcher" in the footer of debug configuration near "Revert" and "Apply" buttons. 4. Check that "GDB Debugger" and "GDB command line" from "Debugger tab" do contain the correct paths to cross gdb and gdb init files 5. Change the launcher to "GDB(DSF) Automatic Remote Debugging Launcher" and verify the settings from "Debugger" tab to be the same as at step 4. Actually what happens is that gdb path and GDB command file are reset to default values. ------------------------------ Note that GDB(DSF) launcher has a lot more features that legacy launcher and should be preferred, also starting with CDT 9.0. the legacy launcher will be removed from CDT.
I have a patch to fix this. What mailing list to be used for sending patches?
Patch for master branch sent to yocto mailing list https://lists.yoctoproject.org/pipermail/yocto/2015-September/026505.html
Is there any chances for the patch to be considered? At least with Mars release, the legacy (CDI) debug backend for GDB is not that stable compared to CDT(DSF) debug backend. And mostly unusable for a little more complex applications. Manually changing/updating debug configurations created by yocto adt plugin each time I am switching the development profile is quite bothering to the point you would not use ADT eclipse assistance for debugging. Thank you, Teo
Hello Teodor, Sorry about the delay, we were I bit busy here. Yes, the patch will be tested and merged.
Merged. Thank you.
New projects are using: "Using GDB (DSF) Debug Process Launcher - " Verified on 1d179ddcbd1983bf7bcfe98efdcbb186bdccca4f, branch mars/jethro and master Added TC #1361 (will be updated after implementation of an automated test)