mirror of
https://github.com/Minres/RISCV-VP.git
synced 2025-12-17 08:51:35 +00:00
adds standalone FW Debug launch
This commit is contained in:
27
.vscode/launch.json
vendored
27
.vscode/launch.json
vendored
@@ -1,6 +1,29 @@
|
|||||||
{
|
{
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
|
{
|
||||||
|
"type": "gdbtarget",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Debug hello world 32bit",
|
||||||
|
"program": "fw/hello-world/hello.elf",
|
||||||
|
"imageAndSymbols": {
|
||||||
|
"symbolFileName": "fw/hello-world/hello.elf"
|
||||||
|
},
|
||||||
|
"target": {
|
||||||
|
"server": "${workspaceFolder}/build/RelWithDebInfo/src/riscv-vp",
|
||||||
|
"serverParameters": ["--isa", "rv32gc|msu_vp", "-v", "INFO", "--disass", "-f", "fw/hello-world/hello.elf", "-g", "10000"],
|
||||||
|
"watchServerProcess": true,
|
||||||
|
"port": "10000"
|
||||||
|
},
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"gdb": "riscv64-unknown-elf-gdb",
|
||||||
|
"openGdbConsole": true,
|
||||||
|
"presentation": {
|
||||||
|
"hidden": false,
|
||||||
|
"group": "FW Debug",
|
||||||
|
"order": 2
|
||||||
|
},"initCommands": ["b main"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "gdbtarget",
|
"type": "gdbtarget",
|
||||||
"request": "attach",
|
"request": "attach",
|
||||||
@@ -61,11 +84,11 @@
|
|||||||
"compounds": [
|
"compounds": [
|
||||||
{
|
{
|
||||||
"name": "FW-Debug 32bit",
|
"name": "FW-Debug 32bit",
|
||||||
"configurations": ["32bit VP with gdbserver", "Attach to VP"]
|
"configurations": ["32bit VP with gdbserver", "Attach GDB to VP"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "FW-Debug 64bit",
|
"name": "FW-Debug 64bit",
|
||||||
"configurations": ["64bit VP with gdbserver", "Attach to VP"]
|
"configurations": ["64bit VP with gdbserver", "Attach GDB to VP"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Submodule dbt-rise-riscv updated: 1260c9db5e...45dc8bd3fd
Binary file not shown.
Reference in New Issue
Block a user