Files
RISCV-VP/.vscode/launch.json

55 lines
1.7 KiB
JSON

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "gdbtarget",
"request": "attach",
"name": "Attach-to-gdbserver",
"program": "./fw/hello-world/hello",
"imageAndSymbols": {
"symbolFileName": "./fw/hello-world/hello"
},
"target": {
"port": "10000"
},
"cwd": "${workspaceRoot}",
"gdb": "riscv64-unknown-elf-gdb",
"presentation": {
"hidden": true,
"group": "FW Debug",
"order": 2
}
},
{
"type": "gdb",
"request": "launch",
"name": "Launch VP with gdbserver",
"cwd": "${workspaceRoot}",
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
"arguments": "-f fw/hello-world/hello -g 10000",
"presentation": {
"hidden": true,
"group": "FW Debug",
"order": 1
}
},
{
"type": "gdb",
"request": "launch",
"name": "Launch VP",
"cwd": "${workspaceRoot}",
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
"arguments": "--isa tgc5c -f fw/hello-world/hello",
"openGdbConsole": true
},
],
"compounds": [
{
"name": "FW-Debug",
"configurations": ["Launch VP with gdbserver", "Attach-to-gdbserver"]
}
]
}