Open
Description
Hi,
I think that the Debug Session should be closed after the gdbserver or gdb exits. I've also killed the gdb, but the Debug Session will still be there
I tested with RISC-V QEMU as the gdb server. This is the debug configuration:
{
"name": "CDT GDB Debug",
"type": "gdbtarget",
"request": "launch",
"gdb": "riscv64-unknown-elf-gdb",
"program": "${workspaceFolder}/riscv-probe/build/bin/rv64imac/qemu-sifive_e/alloca",
"logFile": "${workspaceFolder}/.vscode/gdb.log",
"target": {
"type": "remote",
"host": "localhost",
"port": "50000",
"server": "qemu-system-riscv64",
"serverParameters": [
"-nographic",
"-machine", "sifive_e",
"-bios", "none",
"-kernel", "${workspaceFolder}/riscv-probe/build/bin/rv64imac/qemu-sifive_e/alloca",
"-gdb", "tcp::50000",
"-S",
"-serial", "tcp:localhost:5555,server,nowait"
],
"automaticallyKillServer": true,
"serverStartupDelay": 500,
"uart":{
"socketPort": "5555"
}
},
"initCommands": [
"b main"
],
},
Metadata
Metadata
Assignees
Labels
No labels