55 lines
1.8 KiB
JSON
55 lines
1.8 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/prebuilt/hello.elf",
|
|
"imageAndSymbols": {
|
|
"symbolFileName": "fw/hello-world/prebuilt/hello.elf"
|
|
},
|
|
"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/tgc-vp",
|
|
"arguments": "-f fw/hello-world/prebuilt/hello.elf -g 10000",
|
|
"presentation": {
|
|
"hidden": true,
|
|
"group": "FW Debug",
|
|
"order": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "gdb",
|
|
"request": "launch",
|
|
"name": "VP-Debug",
|
|
"cwd": "${workspaceRoot}",
|
|
"program": "${workspaceFolder}/build/Debug/src/tgc-vp",
|
|
"arguments": "-f fw/hello-world/prebuilt/hello.elf",
|
|
"openGdbConsole": true
|
|
},
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "FW-Debug",
|
|
"configurations": ["Launch-VP-with-gdbserver", "Attach-to-gdbserver"]
|
|
}
|
|
]
|
|
} |