Skip to content

Gdb Remote launch targets for CoreBuild projects #1168

Open
@ewaterlander

Description

@ewaterlander

Currently CMake and CoreBuild Makefile projects use by default launch target "Local".
If you want to connect to a remote gdb server you have to create a Managed Build debug C/C++ Remote Application launch configuration (via Run >> Debug Configurations..).

What we need is that the user can simply select a Gdb Remote target in the LaunchBar and go.

Two Gdb Remote LaunchBar targets have been created already in 2019, but they are not used. Gdb Remote Serial, and Gdb Remote TCP.

See
https://bugs.eclipse.org/bugs/show_bug.cgi?id=547831 for the description.
6a27da1 has the changes.

For me it is not completely clear what the intention was. What I think the idea was is that the user just creates and selects a Gdb Remote target in the LaunchBar, and the Launch Configuration Debug Tab will then change to like we know from the Managed Build Gdb Remote launch configuration.

The change also added a LaunchConfig provider: org.eclipse.cdt.dsf.gdb.internal.launching.GdbRemoteLaunchConfigProvider

This launchconfig provider is not used in CDT. I also don't see how it should be used for CoreBuild projects. I think, too keep it simple, you want to have just one launch configuration for a project, and the launch target sets the target (local or remote). So the launch target changes the launch configuration. This is what I also get from the short description in bug 547831.

@jonahgraham do you remember what was the idea of how to use these targets.

Any other ideas of how we should deal with different launch targets in CoreBuild projects are welcome. Please add your comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions