mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-08 18:26:48 +00:00
* feat(ide): add gdb-multiarch debug support for better stack tracking * feat(test): add oscomp testcase aquirement * feat(ci): bump to oscomp test * feat(ci): new ci procedure * feat(ci): update CI workflow to replace git mirror and remove unnecessary userland build condition
48 lines
1.7 KiB
JSON
48 lines
1.7 KiB
JSON
{
|
|
// 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": "lldb",
|
|
"request": "launch",
|
|
"name": "Debug RISCV64 lldb",
|
|
"stopOnEntry": false,
|
|
"targetCreateCommands": ["target create ${workspaceFolder}/bin/riscv64/kernel/kernel.elf"],
|
|
"processCreateCommands": [
|
|
"gdb-remote localhost:1234",
|
|
"settings set target.process.follow-fork-mode child",
|
|
"continue" // Get over the first trap into the kernel
|
|
],
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}",
|
|
"sourceLanguages": ["c", "cpp", "rust"],
|
|
"console": "internalConsole"
|
|
},
|
|
{
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"name": "Debug RISCV64 gdb-multiarch",
|
|
"stopAtConnect": true,
|
|
"program": "${workspaceRoot}/bin/riscv64/kernel/kernel.elf",
|
|
"miDebuggerPath": "gdb-multiarch",
|
|
"miDebuggerServerAddress": "localhost:1234",
|
|
"postRemoteConnectCommands": [
|
|
{
|
|
"text": "set follow-fork-mode child"
|
|
}
|
|
],
|
|
"useExtendedRemote": true,
|
|
"args": [],
|
|
"cwd": "${workspaceRoot}",
|
|
"environment": [],
|
|
"internalConsoleOptions": "neverOpen",
|
|
"externalConsole": false,
|
|
"logging": {
|
|
"engineLogging": false
|
|
},
|
|
"MIMode": "gdb"
|
|
}
|
|
]
|
|
} |