{ "version": "0.2.0", "configurations": [ { "type": "gdbtarget", "request": "attach", "name": "Attach GDB to VP", "program": "./fw/hello-world/hello.elf", "imageAndSymbols": { "symbolFileName": "./fw/hello-world/hello.elf" }, "target": { "port": "10000" }, "cwd": "${workspaceRoot}", "gdb": "riscv64-unknown-elf-gdb", "openGdbConsole": true, "presentation": { "hidden": false, "group": "FW Debug", "order": 2 } }, { "type": "gdb", "request": "launch", "name": "32bit VP with gdbserver", "cwd": "${workspaceRoot}", "program": "${workspaceFolder}/build/Debug/src/riscv-vp", "arguments": "--isa 'rv32gc|msu_vp' -v INFO --disass -f fw/hello-world/hello.elf -g 10000", "openGdbConsole": true }, { "type": "gdb", "request": "launch", "name": "64bit VP with gdbserver", "cwd": "${workspaceRoot}", "program": "${workspaceFolder}/build/Debug/src/riscv-vp", "arguments": "--isa 'rv64gc|msu_vp' -v INFO --disass -f fw/hello-world/hello.elf -g 10000", "openGdbConsole": true }, { "type": "gdb", "request": "launch", "name": "TGC5 VP", "cwd": "${workspaceRoot}", "program": "${workspaceFolder}/build/Debug/src/riscv-vp", "arguments": "-v DEBUG -t 3 --isa 'tgc5c|mu_p' -f fw/hello-world/hello.elf", "openGdbConsole": true }, { "type": "gdb", "request": "launch", "name": "TGC5 VP (asmjit)", "cwd": "${workspaceRoot}", "program": "${workspaceFolder}/build/Debug/src/riscv-vp", "arguments": "-v DEBUG --isa 'tgc5c|mu_p' --backend asmjit -f fw/hello-world/hello.elf", "openGdbConsole": true }, { "type": "gdb", "request": "launch", "name": "64bit VP with Linux", "cwd": "${workspaceRoot}", "program": "${workspaceFolder}/build/Debug/src/riscv-vp", "arguments": "--isa 'rv64gc|msu_vp' -v DEBUG --disass -l run.log -f build/Linux4TGC/opensbi/build/platform/riscv_vp/firmware/fw_payload.elf -m 40ms", "openGdbConsole": true }, { "type": "gdb", "request": "launch", "name": "64bit VP with Linux with gdbserver", "cwd": "${workspaceRoot}", "program": "${workspaceFolder}/build/Debug/src/riscv-vp", "arguments": "--isa 'rv64gc|msu_vp' -f build/Linux4TGC/opensbi/build/platform/riscv_vp/firmware/fw_payload.elf -m 40ms -g 10000", "openGdbConsole": true } ], "compounds": [ { "name": "FW-Debug 32bit", "configurations": ["32bit VP with gdbserver", "Attach GDB to VP"] }, { "name": "FW-Debug 64bit", "configurations": ["64bit VP with gdbserver", "Attach GDB to VP"] } ] }