This commit is contained in:
static
2025-06-14 03:12:08 +00:00
parent f596bf4701
commit f4efab6ebf
3 changed files with 521 additions and 3 deletions

23
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,23 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Attach to qemu-riscv64-static",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}/hello",
"cwd": "${workspaceRoot}",
"stopAtEntry": true,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"miDebuggerPath": "/usr/bin/gdb-multiarch",
"miDebuggerServerAddress": "localhost:8888",
}
]
}