mirror of
https://github.com/Minres/RISCV-VP.git
synced 2025-12-17 08:51:35 +00:00
Merge branch 'feature/multi_threading' into develop
This commit is contained in:
45
.vscode/launch.json
vendored
45
.vscode/launch.json
vendored
@@ -44,6 +44,41 @@
|
||||
"b main"
|
||||
]
|
||||
},
|
||||
{
|
||||
"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",
|
||||
"-v",
|
||||
"INFO",
|
||||
"-f",
|
||||
"fw/hello-world/hello.elf",
|
||||
"-g",
|
||||
"10000"
|
||||
],
|
||||
"watchServerProcess": true,
|
||||
"port": "10000"
|
||||
},
|
||||
"cwd": "${workspaceRoot}",
|
||||
"gdb": "riscv64-unknown-elf-gdb",
|
||||
"openGdbConsole": false,
|
||||
"presentation": {
|
||||
"hidden": false,
|
||||
"group": "FW Debug",
|
||||
"order": 2
|
||||
},
|
||||
"initCommands": [
|
||||
"b main"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "gdbtarget",
|
||||
"request": "attach",
|
||||
@@ -79,7 +114,15 @@
|
||||
"name": "32bit VP",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
|
||||
"arguments": "--isa 'rv32gc_msu' -v INFO --disass -f fw/hello-world/hello.elf"
|
||||
"arguments": "--isa 'rv32gc_msu' -v INFO -f fw/hello-world/hello.elf",
|
||||
"openGdbConsole": true,
|
||||
"initCommands": [
|
||||
"set breakpoint pending on",
|
||||
"set breakpoint auto-hw on",
|
||||
"set breakpoint always-inserted on",
|
||||
"set output-radix 16"
|
||||
],
|
||||
"verbose": false
|
||||
},
|
||||
{
|
||||
"type": "gdb",
|
||||
|
||||
Reference in New Issue
Block a user