{ // 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.elf", "imageAndSymbols": { "symbolFileName": "./fw/hello-world/hello.elf" }, "target": { "port": "10000" }, "cwd": "${workspaceRoot}", "gdb": "riscv64-unknown-elf-gdb", "presentation": { "hidden": false, "group": "FW Debug", "order": 2 } }, { "type": "gdb", "request": "launch", "name": "Launch VP with gdbserver", "cwd": "${workspaceRoot}", "program": "${workspaceFolder}/build/Debug/src/riscv-vp", "arguments": "--isa 'rv32gc|msu_vp' -v DEBUG --disass -f fw/hello-world/hello.elf -g 10000", "presentation": { "hidden": false, "group": "FW Debug", "order": 1 } }, { "type": "gdb", "request": "launch", "name": "Launch VP", "cwd": "${workspaceRoot}", "program": "${workspaceFolder}/build/Debug/src/riscv-vp", "arguments": "-v DEBUG -t 3 --isa tgc5c -f fw/hello-world/hello.elf", "openGdbConsole": true }, { "type": "gdb", "request": "launch", "name": "Launch VP (asmjit)", "cwd": "${workspaceRoot}", "program": "${workspaceFolder}/build/Debug/src/riscv-vp", "arguments": "--isa tgc5c --backend asmjit -f fw/hello-world/hello.elf", "openGdbConsole": true } ], "compounds": [ { "name": "FW-Debug", "configurations": ["Launch VP with gdbserver", "Attach-to-gdbserver"] } ] }