Skip to content

Run gdb commands before connection #97

Open
@Gaswigue

Description

@Gaswigue

With Renesas RX gdb (embedded system - remote GdbServer). We need to provide gdb commands before to make the connection.

For example "-gdb-set non-stop on" and only after we can use "target extended-remote :*****".

I find a way to workaround this issue.

First remove this 3 lines of mi2.js (222-224) on 0.17.0
this.sendCommand("gdb-set target-async on"),
this.sendCommand("environment-directory "" + escape(cwd) + """),
this.sendCommand("target-select remote " + target)

And set all needed commands in "autorun" argument in launch.json.

A way to solve this issues is maybe to provide a new arguments as "autorun" but to be triggered before.

Otherwise, it's a really good piece of extension !

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions