Commit a5d5959
authored
Gdb Manual Remote launch targets for CoreBuild projects (#1222)
* Gdb Manual Remote launch targets for CoreBuild projects
Support the Gdb Remote TCP and Serial launch targets for CoreBuild
projects. A new non-public LaunchConfiguration type is added, that is
working with the same launch descriptor type as CoreBuild Local
projects. Also a new LaunchConfigurationProvider that supports the Gdb
Remote TCP and Serial targets is added.
It makes use of the launch delegate
org.eclipse.cdt.dsf.gdb.launching.GdbTargetedLaunchDelegate, which is
also used for standard GDB (DSF) Manual Remote Debugging launch
configurations for TCP and Serial connections.
For the user is appears as if there is a single CoreBuild launch
configuration that adapts dynamically to the launch target, while in
reality there is a separate launch configuration for each target.
Also cleanup up a bit CoreBuildGenericLaunchConfigProvider and
fixed a bug in launchTargetRemoved().
* Disable the GDB connection fields for CoreBuild launch configurations.
Launch Target settings have precedence over Launch Configuration
settings. Multiple Launch Configurations can use the same Launch
Target. Disable settings controlled by the Launch Target to avoid
inconsistent settings.
For non-CoreBuild GDB remote launch configurations the settings remain
editable. These launch configurations can be launched without launch
bar.
* Documentation Core Build debug remote target.
* New launch configuration name based on target name.
The new launch configuration name is only based on the target name and
the type (tcp or serial).
Changing a connection parameter will not result in a new launch
configuration.
Fixes #11681 parent 5e840bf commit a5d5959
35 files changed
Lines changed: 664 additions & 110 deletions
File tree
- debug/org.eclipse.cdt.debug.core
- META-INF
- src/org/eclipse/cdt/debug/core/launch
- doc/org.eclipse.cdt.doc.user
- images
- src/getting_started
- dsf-gdb
- org.eclipse.cdt.dsf.gdb.ui
- META-INF
- src/org/eclipse/cdt/dsf/gdb/internal/ui/launching
- org.eclipse.cdt.dsf.gdb
- META-INF
- src/org/eclipse/cdt/dsf
- gdb/internal/launching
- mi/service/command
- commands
- output
- launchbar/org.eclipse.launchbar.core
- META-INF
- src/org/eclipse/launchbar/core
- target
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 19 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
1 | 11 | | |
2 | 12 | | |
3 | 13 | | |
| |||
42 | 52 | | |
43 | 53 | | |
44 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
45 | 61 | | |
46 | 62 | | |
47 | 63 | | |
| |||
54 | 70 | | |
55 | 71 | | |
56 | 72 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 73 | + | |
61 | 74 | | |
62 | 75 | | |
63 | 76 | | |
| |||
141 | 154 | | |
142 | 155 | | |
143 | 156 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | 157 | | |
148 | 158 | | |
149 | | - | |
150 | | - | |
| 159 | + | |
151 | 160 | | |
152 | 161 | | |
153 | 162 | | |
154 | 163 | | |
155 | 164 | | |
156 | 165 | | |
157 | 166 | | |
158 | | - | |
| 167 | + | |
159 | 168 | | |
160 | 169 | | |
161 | 170 | | |
162 | 171 | | |
163 | 172 | | |
164 | | - | |
165 | 173 | | |
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
0 commit comments