Bug 7819 - Support multi-image debugging
Summary: Support multi-image debugging
Status: RESOLVED INVALID
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 2.3
Assignee: brian avery
QA Contact: Valentin Hangan
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-05-29 09:30 UTC by Todor Minchev
Modified: 2017-05-01 18:38 UTC (History)
8 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todor Minchev 2015-05-29 09:30:34 UTC
Add an option to select the target image launched by the debugger
Comment 1 Martin Oberhuber 2015-06-19 14:13:55 UTC
What do you mean by "target image" in that case, the executable image or the SDK (QEMU/Platform) image ?
Comment 2 Todor Minchev 2015-06-19 15:20:07 UTC
I meant that the user should be able to easily switch between different QEMU images where they can run or debug their application.
Comment 3 Martin Oberhuber 2015-06-20 05:47:42 UTC
Interesting, thanks !

Would you mind letting me know what kind of approach you are planning for this ?
We've been supporting multiple SDKs for debugging in our Yocto based Eclipse Workbench since many years, and if you add that support now I'd like to see if/how we can integrate our approach.

FYI, our current approach uses Eclipse TCF/Target Explorer. A QEMU instance is modeled as a Target Explorer connection (with path to SDK, as well as QEMU options, as properties). "Connecting" the connection can launch the QEMU, or attach to an already running QEMU that was launched on command-line. Once connected, TCF/Target Explorer manages the debug launches (run, or attach, either to a TCF debug agent or to gdbserver).
Comment 4 brian avery 2017-05-01 18:38:03 UTC
Since we can also make different connections (TCF or SSH) to a set of external tools -> Qemu instances, we can accomplish the multi-image debug by making a diff debug configuration for each connection and just picking that one to debug. Closing.